From d7e8877234b269afca80a19061c1392f31d959dd Mon Sep 17 00:00:00 2001 From: Marco Ehrenmann Date: 2019εΉ΄8月15ζ—₯ 07:40:25 +0200 Subject: [PATCH 1/4] [Update] Deps + Setup: Use latest nuxt boilerplate --- .eslintrc.js | 5 +- .nvmrc | 2 +- .yarnclean | 45 - layouts/default.vue | 12 +- nuxt.config.js | 63 +- package.json | 24 +- pages/index.vue | 16 +- yarn.lock | 2469 ++++++++++++------------------------------- 8 files changed, 756 insertions(+), 1880 deletions(-) delete mode 100644 .yarnclean diff --git a/.eslintrc.js b/.eslintrc.js index f0fa3ac..a8e2c7c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -13,7 +13,10 @@ module.exports = { // https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention // consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules. '@nuxtjs', - 'plugin:prettier/recommended' + 'prettier', + 'prettier/vue', + 'plugin:prettier/recommended', + 'plugin:nuxt/recommended' ], // required to lint *.vue files plugins: ['prettier'], diff --git a/.nvmrc b/.nvmrc index 146d5de..0312896 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -11.6.0 +lts/dubnium diff --git a/.yarnclean b/.yarnclean deleted file mode 100644 index b591611..0000000 --- a/.yarnclean +++ /dev/null @@ -1,45 +0,0 @@ -# test directories -__tests__ -test -tests -powered-test - -# asset directories -docs -doc -website -images -assets - -# examples -example -examples - -# code coverage directories -coverage -.nyc_output - -# build scripts -Makefile -Gulpfile.js -Gruntfile.js - -# configs -appveyor.yml -circle.yml -codeship-services.yml -codeship-steps.yml -wercker.yml -.tern-project -.gitattributes -.editorconfig -.*ignore -.eslintrc -.jshintrc -.flowconfig -.documentup.json -.yarn-metadata.json -.travis.yml - -# misc -*.md diff --git a/layouts/default.vue b/layouts/default.vue index 2e549dc..fcd61db 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -2,15 +2,21 @@

nuxt-netlify-functions-example

- GitHub Repo + + GitHub Repo +
- Created by Lucid + Created by + Lucid
-