public/README.md

39 lines
782 B
Markdown
Raw Normal View History

2022-08-10 21:17:29 -04:00
# Eggworld v3: Nuxt 3
2021-04-07 12:21:17 -04:00
2022-08-10 21:17:29 -04:00
After hand-written HTML and a static site generator comes Nuxt!
**WARN: Volar 0.40.0 breaks all type-checking and I don't know why — stick with Volar 0.39.5.**
Post-build instructions (while prerendering is bork)
2022-08-12 21:04:50 -04:00
- Compile `/script.ts` to `/script.js` (`tsc script.ts -m esnext -t esnext --moduleReslution node`)
2022-07-21 16:50:03 -04:00
Look at the [nuxt 3 documentation](https://v3.nuxtjs.org) to learn more.
## Setup
Make sure to install the dependencies:
```bash
# yarn
yarn install
```
## Development Server
Start the development server on http://localhost:3000
```bash
2022-08-10 21:17:29 -04:00
yarn dev
2022-07-21 16:50:03 -04:00
```
## Production
Locally preview production build:
```bash
2022-08-10 21:17:29 -04:00
yarn preview
2022-07-21 16:50:03 -04:00
```
Checkout the [deployment documentation](https://v3.nuxtjs.org/guide/deploy/presets) for more information.