https://github.com/brandonroberts/vite-nitro-vue
An example application with Vite, Vue, and Nitro
https://github.com/brandonroberts/vite-nitro-vue
meta-framework nitro ssg ssr vite vue
Last synced: 3 months ago
JSON representation
An example application with Vite, Vue, and Nitro
- Host: GitHub
- URL: https://github.com/brandonroberts/vite-nitro-vue
- Owner: brandonroberts
- Created: 2024-12-10T01:31:01.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-10T20:04:20.000Z (6 months ago)
- Last Synced: 2025-03-02T09:54:04.365Z (3 months ago)
- Topics: meta-framework, nitro, ssg, ssr, vite, vue
- Language: TypeScript
- Homepage:
- Size: 64.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vue + Vite + Nitro
This is an example Vue 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 `npm install` to install the application dependencies.
## Development
Run `npm run dev` for a dev server. Navigate to `http://localhost:5173/`. The application automatically reloads if you change any of the source files.
## Build
Run `npm 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)