This is an example Solid application using the Vite/Nitro plugin from AnalogJS. The @analogjs/vite-plugin-nitro
package can be used with any Vite-based application to provide:
- Hybrid Server-side Rendering
- Static Site Generation
- API Routes
Run pnpm install
to install the application dependencies.
Run pnpm run dev
for a dev server. Navigate to http://localhost:3000/
. The application automatically reloads if you change any of the source files.
Run pnpm run build
to build the client/server project. The client build artifacts are located in the .output/public
directory. The server for the API build artifacts are located in the .output/server
directory.
- Visit and Star the GitHub Repo
- Join the Discord
- Follow us on Twitter
- Become a Sponsor