Integrate Builder.io Visual CMS into an application.
Run the command below from within the app's directory:
npm
npm init builder.io@latest
pnpm
pnpm create builder.io@latest
Depending on your app, the CLI will update your build tool's config file by adding the Builder.io Devtools plugin.
Supported build tool configs include:
- next.config.js (or .ts)
- remix.config.js (or .ts)
- vite.config.js (or .ts)
Additionally, the CLI will install the dependencies needed for Builder, such as @builder.io/dev-tools.
After a successful install, you can start your app's development server. In most cases, to start the dev server run:
npm run dev
Once your apps's dev server is running, Builder's Devtools will assist you along the way to get your content published.