This site is built with AppRun-Site and Shadcn/ui. It has the following structure:
/_ <- backend code
/components <- shadcn/ui components
/lib <- shadcn/ui library
/pages <- fronet end code
/index.html <- main page, will load in the browser
/main.tsx <- start up code, renders the layout
/main.css <- main css (tailwind configured for shadcn/ui)
/index.tsx <- home page
/about
/index.tsx <- about page
/contact
/index.tsx <- contact page
/docs <- generated site for github pages
/server.js <- generated server
You can add pages under the pages
directory by creating sub-directories. And then, add an index.tsx file.
Then, you can use:
- npm start to run the server
- npm dev to start the dev server in watch mode
- npm run build to build for production