Trying to set up Devtools following Publish Quickstart - Builder.io for Vite React but failed.
Detailed steps to reproduce the bug
- Initialize a new Vite + React app with
npm create vite@latest . -- --template react-ts
- Run
npm init builder.io@latest
- Run
npm run dev
- Navigate to http://localhost:5173
- Initial page is still the default vite + react welcome page
- Have to manually change the App.tsx to use the
<BuilderComponent model="page" />
component to work - But even after authorizing the space, it didn’t create the build-page.jsx
Code stack you are integrating Builder with
- Latest (as of writing) Vite + React stack
Reproducible code example
This following playground is forked directly from Vite and I only ran the npm init builder.io@latest
command: Vitejs - Vite (forked) - StackBlitz