vuejs-de README.md
2.1 kB · 68 lines
Markdown
at main

🚧 Repository update 🚧 #

This repository has been archived. Please feel free to contact me directly if you have any questions.


# Building for the Edge with Nuxt 3

This is a live-coded demo project using Nuxt 3 for a live-coding session accompanying a talk at vuejs.de Conf 2022.

Screenshot of the deployed site

Features #

Try it out #

Setup #

# install dependencies
npm install # or yarn

# serve in dev mode, with hot reload at localhost:3000
npm run dev

# build for production (universal)
npm run build

# preview in production mode
npm start

You'll need to get a token for the Cat API; place it in .env.

Deployment #

You should be able to deploy this repository with zero or minimal configuration.

However, the route rules for CORS and ISR/ISG in nuxt.config won't work until the following PRs are finalised and merged - follow them for more info:

License #

MIT