mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-19 22:08:58 +00:00
new examples
This commit is contained in:
27
node/nuxtjs/README.md
Normal file
27
node/nuxtjs/README.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# Nuxt.js
|
||||
|
||||
Nuxt.js examples with SSR and static export.
|
||||
|
||||
## Variants
|
||||
|
||||
### SSR (Server-Side Rendering)
|
||||
|
||||
```bash
|
||||
cd ssr
|
||||
npm install
|
||||
npm run dev # development
|
||||
npm run build # build
|
||||
npm run preview # production server
|
||||
```
|
||||
|
||||
### Static Export
|
||||
|
||||
```bash
|
||||
cd static
|
||||
npm install
|
||||
npm run dev # development
|
||||
npm run build # generate static files
|
||||
npm start # serve static files
|
||||
```
|
||||
|
||||
Static export is configured with `ssr: false` in `nuxt.config.ts` and uses `nuxt generate`.
|
||||
Reference in New Issue
Block a user