Lifecycle of a theme or plugin
Lifecycle concepts for Built.js themes and plugins.
Themes and plugins follow the same lifecycle:
Creation
The theme or plugin is created in two ways:
- using the
new
command (e.g.npx create-built-app new theme
) - manually create in Built Studio
Export (for manual theme/plugin creation only)
When you export the theme or plugin from Built Studio, it is exported as a zip file download. Included is a config
folder and a README file with instructions on how to setup and run the theme/plugin as a Next.js project.
Development
You develop the React components and publish the theme or plugin to Built Studio by running npx create-built-app publish
. If all is well with the theme/plugin configuration, it can then be used to make sites with.
Update
You can update a theme's plugins by running npx create-built-app update
. After updating, you can republish to Built Studio.
Deletion
If you don't want the theme/plugin anymore, you can simply delete it in Built Studio.