https://github.com/brandonroberts/vite-nitro-solid
An example application with Vite, Solid, and Nitro
https://github.com/brandonroberts/vite-nitro-solid
meta-framework nitro react ssg ssr vite
Last synced: about 1 month ago
JSON representation
An example application with Vite, Solid, and Nitro
- Host: GitHub
- URL: https://github.com/brandonroberts/vite-nitro-solid
- Owner: brandonroberts
- Created: 2023-07-21T18:44:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-07T18:18:59.000Z (6 months ago)
- Last Synced: 2025-04-06T13:51:58.801Z (about 2 months ago)
- Topics: meta-framework, nitro, react, ssg, ssr, vite
- Language: TypeScript
- Homepage:
- Size: 278 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Solid + Vite + Nitro
This is an example Solid application using the Vite/Nitro plugin from [AnalogJS](https://analogjs.org). 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## Setup
Run `pnpm install` to install the application dependencies.
## Development
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.
## Build
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.
## Community
- Visit and Star the [GitHub Repo](https://github.com/analogjs/analog)
- Join the [Discord](https://chat.analogjs.org)
- Follow us on [Twitter](https://twitter.com/analogjs)
- Become a [Sponsor](https://github.com/sponsors/brandonroberts)