mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-19 13:58:56 +00:00
26 lines
361 B
Markdown
26 lines
361 B
Markdown
# Vue Static (SPA with Vue Router)
|
|
|
|
A Vue 3 single-page application with Vue Router, built with Vite.
|
|
|
|
## Getting Started
|
|
|
|
```bash
|
|
npm install
|
|
npm run build
|
|
npm run start
|
|
```
|
|
|
|
## Development
|
|
|
|
```bash
|
|
npm run dev
|
|
```
|
|
|
|
## Environment Variables
|
|
|
|
Static sites only support build-time environment variables:
|
|
|
|
```bash
|
|
VITE_BUILD_PUBLIC_VAR=my-value npm run build
|
|
```
|