From dfdcd58d8c590507d40497d12e4b4f6aa50bfc50 Mon Sep 17 00:00:00 2001 From: liuyx <1517482303@qq.com> Date: Wed, 28 Dec 2022 14:40:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=BA=9B=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blog/.eslintrc.cjs | 14 ++++---------- blog/index.html | 6 ------ blog/src/App.vue | 21 ++------------------- blog/src/main.js | 5 +---- 4 files changed, 7 insertions(+), 39 deletions(-) diff --git a/blog/.eslintrc.cjs b/blog/.eslintrc.cjs index dbdf509..942318c 100644 --- a/blog/.eslintrc.cjs +++ b/blog/.eslintrc.cjs @@ -3,22 +3,16 @@ module.exports = { browser: true, es2021: true }, - extends: [ - 'plugin:vue/vue3-essential', - 'standard' - ], - overrides: [ - ], + extends: ['plugin:vue/vue3-essential', 'standard'], + overrides: [], parserOptions: { ecmaVersion: 'latest', sourceType: 'module' }, - plugins: [ - 'vue' - ], + plugins: ['vue'], rules: { 'vue/multi-word-component-names': 0, - 'space-before-function-paren': ['error', 'never'], // 函数名与括号之间无空格 + 'space-before-function-paren': 0, quotes: ['error', 'single'] // 单引号 } } diff --git a/blog/index.html b/blog/index.html index 2c37f38..c1aea72 100644 --- a/blog/index.html +++ b/blog/index.html @@ -1,9 +1,3 @@ - diff --git a/blog/src/App.vue b/blog/src/App.vue index 4c26142..71f5e5d 100644 --- a/blog/src/App.vue +++ b/blog/src/App.vue @@ -1,16 +1,10 @@ - + diff --git a/blog/src/main.js b/blog/src/main.js index 90481bb..59cb7cd 100644 --- a/blog/src/main.js +++ b/blog/src/main.js @@ -23,7 +23,4 @@ const app = createApp(App) app.component('svg-icon', SvgIcon) -app.use(VMdPreview) - .use(router) - .use(ElementPlus) - .mount('#app') +app.use(VMdPreview).use(router).use(ElementPlus).mount('#app')