⭐ 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
$ 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
Make sure Jest is installed globally before running unit tests.
$ npm install jest -g
$ npm run test