Slick DOGO-WebApp project
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm start
# generate static project
$ npm run generateFor detailed explanation on how things work in Nuxt.js framework, checkout Nuxt.js docs.
Inside the folder node_scripts/dogo-tools/ node.js scripts are located for retrieving dogo content from contentful and saving it locally. It is required to have data files generated for Dogo-WebApp to work.
# Generate/Update files static/data/[lang]-data.json that contain dogo tricks data.
$ npm run generate-data# Generate/Update file static/data/routes.json containing list of routes available in the web app.
$ npm run generate-routes# Generate/Update file static/data/[lang]-faq.json containing FAQs of the application.
$ npm run generate-faq