- Vite
- Vite Plugin SSR
- JSX
To run the project, the following dependencies are required
- Node.js
- Bun (Optional, used as runner & package manager here. Can be replaced by the package manager of your choice)
- Clone the repo
git clone https://github.com/Julien-prrs/vite-ssg-jsx-poc.git && cd vite-ssg-jsx-poc
- Install dependencies
bun install
- Start app in development mode
bun start
bun build:prod
Production files are now accessible from under dist/client/
directory!
No need for manual build,
serve
command will automatically build the app on start
bun serve