Getting Started
This page is the shortest path to a working Vext full-stack page with the built-in frontend capability.
Create the App
The default scaffold is full-stack: backend routes, services, React pages, styles, assets, locales, and public files are created in one project. API-only projects can still use:
Open the First Page
The first browser page follows this chain:
src/frontend/pages/index.tsx is the page component. It does not create a URL by itself; the route handler chooses when to render it.
Change the Home Page
Add Another Page
Create the page:
Render it from a route:
Add a Component
Use aliases from frontend files:
Add Styles
Use plain CSS, CSS Modules, or Vext JSCSS. Component-local dynamic styles can use vextjs/style:
If Something Fails
Next, read Project Structure and Routing and Pages.