Splendid PrestaShop nightly board
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ QANB_API_DOMAIN=http://api.nightly.com/ QANB_GA=UA-XXXXX-X NUXT_HOST=http://nightly.com NUXT_PORT=80 npm start #to expose the front domain name and port, the GA key, and the backend API URL
# generate static project
$ npm run generateFor detailed explanation on how things work, checkout Nuxt.js docs.
You must pass the values via environment variables. Here they are:
| Variables | |
|---|---|
| QANB_GA | Google Analytics key |
| QANB_API_DOMAIN | URL for the API backend (must ends with a /) |