danielroe / vuejs-de

Home Page:https://vuejs-de.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

https://vuejs-de.netlify.app/


Languages

Language:TypeScript 53.6%Language:Vue 45.8%Language:Shell 0.6%