Please fill out as many of the following questions as possible so we can help you promptly! If you don’t know how to answer or it does not apply, feel free to remove it or leave it blank.
Builder content link
Builder public api key
224e10d70d124181afb2caeb280bebda
What are you trying to accomplish
Integrate builder.io page builder with react router 7.
-
I initialized a new react router 7 project:
npx create-react-router@latest builder-io-rr7 -
Then I installed builder devtools:
npm init builder.io@latest -
ran:
npm run dev -
Connected to a brand new space, url above.
-
I navigated to:
http://localhost:5173/builder-demoAnd I got a 404 Error page.
The builder-demo page is there and published.
Everything is default, no modifications and it does not work.
I did notice the following files in my app root:
- builder-page.tsx
- builder-registry.ts
Not sure if they should have been put somewhere else.
Code stack you are integrating Builder with
react router 7.9.1
Reproducible code example
If you are having integration errors, please link to codesandbox or copy and paste your problematic code here. The more detail the better!