lovable-ssr
v0.1.24
Published
SSR and route data engine for Lovable projects
Maintainers
Readme
lovable-ssr
SSR and route data engine for Lovable projects: route registry, getData, Express + Vite server, and built-in SEO support.
Documentation: Documentação completa
Installation
npm i lovable-ssr
# or
yarn add lovable-ssrPeer dependencies: react, react-dom, react-router-dom (^18 / ^6).
Quick start
- Register routes with
registerRoutes(routes). - Wrap your app with
BrowserRouteDataProviderand renderAppRoutes(insideBrowserRouter). - (Optional) SSR: entry module +
createServerfromlovable-ssr/server. - (Optional) SEO: add
<SEO />on pages to set meta tags and JSON-LD; helmet content is injected during SSR.
Details, examples, and API: see the documentation.
License
MIT
