From 5591d3fd1913182996a32bd52f1efa8c309e0128 Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Tue, 27 Dec 2022 10:32:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 5 +- .eslintrc.cjs | 20 ++-- .prettierrc.json | 1 + index.html | 11 +- src/App.vue | 8 +- src/assets/base.css | 96 ++++++++-------- src/assets/main.css | 40 +++---- src/components/HelloWorld.vue | 36 +++--- src/components/TheWelcome.vue | 127 ++++++++++----------- src/components/WelcomeItem.vue | 120 +++++++++---------- src/components/icons/IconCommunity.vue | 10 +- src/components/icons/IconDocumentation.vue | 10 +- src/components/icons/IconEcosystem.vue | 10 +- src/components/icons/IconSupport.vue | 10 +- src/components/icons/IconTooling.vue | 32 +++--- src/router/index.ts | 32 +++--- src/stores/counter.ts | 12 +- vite.config.ts | 12 +- 18 files changed, 296 insertions(+), 296 deletions(-) diff --git a/.editorconfig b/.editorconfig index c1322dc..5f4effe 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,4 +9,7 @@ indent_size = 4 end_of_line = lf charset = utf-8 trim_trailing_whitespace = false -insert_final_newline = false \ No newline at end of file +insert_final_newline = true + +[*.{json, yaml}] +indent_size = 2 diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 0104377..c8ac644 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -2,14 +2,14 @@ require('@rushstack/eslint-patch/modern-module-resolution') module.exports = { - root: true, - 'extends': [ - 'plugin:vue/vue3-essential', - 'eslint:recommended', - '@vue/eslint-config-typescript', - '@vue/eslint-config-prettier' - ], - parserOptions: { - ecmaVersion: 'latest' - } + root: true, + extends: [ + 'plugin:vue/vue3-essential', + 'eslint:recommended', + '@vue/eslint-config-typescript', + '@vue/eslint-config-prettier', + ], + parserOptions: { + ecmaVersion: 'latest', + }, } diff --git a/.prettierrc.json b/.prettierrc.json index 27c887c..e16d48f 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -3,5 +3,6 @@ "semi": false, "useTabs": false, "tabWidth": 4, + "printWidth": 110, "endOfLine": "lf" } \ No newline at end of file diff --git a/index.html b/index.html index a888544..c9d26eb 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,16 @@ - + + Vite App - - + + +
- + + diff --git a/src/App.vue b/src/App.vue index 3cdffea..33f1bfd 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,13 +5,7 @@ import HelloWorld from './components/HelloWorld.vue'