From 170b16fa782f0e90d8eacfad8f2255affc227991 Mon Sep 17 00:00:00 2001 From: Yev Date: Sat, 11 Jul 2020 17:33:59 +0100 Subject: [PATCH] Ran prettier on examples --- examples/nuxt/.editorconfig | 13 ------------- examples/nuxt/.eslintrc.js | 1 - examples/nuxt/.prettierrc | 4 ---- examples/nuxt/components/ExampleModal.vue | 2 +- examples/nuxt/components/README.md | 7 ------- examples/nuxt/layouts/README.md | 7 ------- examples/nuxt/pages/README.md | 6 ------ examples/nuxt/pages/index.vue | 6 +++--- examples/nuxt/plugins/README.md | 7 ------- examples/nuxt/plugins/vue-js-modal.js | 2 +- 10 files changed, 5 insertions(+), 50 deletions(-) delete mode 100644 examples/nuxt/.editorconfig delete mode 100644 examples/nuxt/.prettierrc delete mode 100644 examples/nuxt/components/README.md delete mode 100644 examples/nuxt/layouts/README.md delete mode 100644 examples/nuxt/pages/README.md delete mode 100644 examples/nuxt/plugins/README.md diff --git a/examples/nuxt/.editorconfig b/examples/nuxt/.editorconfig deleted file mode 100644 index 5d126348..00000000 --- a/examples/nuxt/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -# editorconfig.org -root = true - -[*] -indent_style = space -indent_size = 2 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.md] -trim_trailing_whitespace = false diff --git a/examples/nuxt/.eslintrc.js b/examples/nuxt/.eslintrc.js index 95c13c79..9b936685 100644 --- a/examples/nuxt/.eslintrc.js +++ b/examples/nuxt/.eslintrc.js @@ -15,6 +15,5 @@ module.exports = { 'plugin:nuxt/recommended', ], plugins: ['prettier'], - // add your custom rules here rules: {}, } diff --git a/examples/nuxt/.prettierrc b/examples/nuxt/.prettierrc deleted file mode 100644 index b2095be8..00000000 --- a/examples/nuxt/.prettierrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "semi": false, - "singleQuote": true -} diff --git a/examples/nuxt/components/ExampleModal.vue b/examples/nuxt/components/ExampleModal.vue index 9d60654f..1415e946 100644 --- a/examples/nuxt/components/ExampleModal.vue +++ b/examples/nuxt/components/ExampleModal.vue @@ -6,7 +6,7 @@ diff --git a/examples/nuxt/components/README.md b/examples/nuxt/components/README.md deleted file mode 100644 index a079f106..00000000 --- a/examples/nuxt/components/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# COMPONENTS - -**This directory is not required, you can delete it if you don't want to use it.** - -The components directory contains your Vue.js Components. - -_Nuxt.js doesn't supercharge these components._ diff --git a/examples/nuxt/layouts/README.md b/examples/nuxt/layouts/README.md deleted file mode 100644 index cad1ad57..00000000 --- a/examples/nuxt/layouts/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# LAYOUTS - -**This directory is not required, you can delete it if you don't want to use it.** - -This directory contains your Application Layouts. - -More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/views#layouts). diff --git a/examples/nuxt/pages/README.md b/examples/nuxt/pages/README.md deleted file mode 100644 index 1d5d48b2..00000000 --- a/examples/nuxt/pages/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# PAGES - -This directory contains your Application Views and Routes. -The framework reads all the `*.vue` files inside this directory and creates the router of your application. - -More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/routing). diff --git a/examples/nuxt/pages/index.vue b/examples/nuxt/pages/index.vue index c27e27b3..b732749a 100644 --- a/examples/nuxt/pages/index.vue +++ b/examples/nuxt/pages/index.vue @@ -18,13 +18,13 @@ import ExampleModal from '../components/ExampleModal' export default { components: { - ExampleModal, + ExampleModal }, methods: { click() { this.$modal.show('example-modal') - }, - }, + } + } } diff --git a/examples/nuxt/plugins/README.md b/examples/nuxt/plugins/README.md deleted file mode 100644 index ca1f9d8a..00000000 --- a/examples/nuxt/plugins/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# PLUGINS - -**This directory is not required, you can delete it if you don't want to use it.** - -This directory contains Javascript plugins that you want to run before mounting the root Vue.js application. - -More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/plugins). diff --git a/examples/nuxt/plugins/vue-js-modal.js b/examples/nuxt/plugins/vue-js-modal.js index d6e46018..6306a0a7 100644 --- a/examples/nuxt/plugins/vue-js-modal.js +++ b/examples/nuxt/plugins/vue-js-modal.js @@ -1,5 +1,5 @@ import Vue from 'vue' -import Modal from '../../dist/ssr.nocss' +import Modal from '../../../dist/ssr.nocss' import '../../../dist/styles.css'