Skip to content

piniajs/example-nuxt-2

Repository files navigation

pinia-example-nuxt

This is an example using an older version of Nuxt. Check the whole list of examples to use a more recent version. Specifically, use the v3 or the nuxt bridge version.

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

For detailed explanation on how things work, check out Nuxt.js docs.