This is just a Nuxt site, so it builds and deploys like any other Nuxt project.
Works best with the fuxt-backend WordPress theme as the backend.
First step: Duplicate and rename .example.env
to .env
. Define any vars environment needed there.
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# serve with hot reload Storybook at localhost:3003
$ npm run storybook
# build for production and launch server
$ npm run build
$ npm start
# build Stroybook for production
$ npx nuxt storybook build
# generate static project
$ npm run generate
For detailed explanation on how things work, checkout the wiki.