⭐ A Nuxt boilerplate project for 2020. Enhanced with built in support for PWA, GZip, mobile-first (i.e. SASS MQ), unit testing and more.
Click here to see a live version
Click here to see a tutorial on how to deploy to Heroku in 10 easy steps
$ git clone https://github.com/allenRoyston/nuxt-202x.git
$ cd nuxt-202x
$ npm install
$ npm run dev
$ // open browser at http://localhost:1234
To generate the links that the blog section will use, use the command:
$ npm run create:all
This will generate a JSON schema the Blog.vue component will utilize to automatically display your latest links. It can be found in static/JSON. If you wish to tweak the JSON structure, you can alter the code in node/buildBlog.js
If you have this repo in Github, you can run this command to automatically add and push for you. It will also automatically update your link/blog pages.
$ npm run git
Make sure Jest is installed globally before running unit tests.
$ npm install jest -g
$ npm run test