From 372362e5cf7355ed4a36245fca63600b0395b99f Mon Sep 17 00:00:00 2001 From: maochaoying <925670706@qq.com> Date: Mon, 6 Mar 2023 11:53:27 +0800 Subject: [PATCH] =?UTF-8?q?feature:=20=E5=BC=95=E5=85=A5prettierrc?= =?UTF-8?q?=E5=B9=B6=E9=85=8D=E7=BD=AE=E5=88=AB=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 1 + .prettierrc | 9 +++++++++ README.md | 14 ++++++++------ vite.config.js | 8 ++++++++ 4 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 .env create mode 100644 .prettierrc diff --git a/.env b/.env new file mode 100644 index 0000000..a671b7f --- /dev/null +++ b/.env @@ -0,0 +1 @@ +VITE_APP_API_BASE_URL=http://127.0.0.1:8080/ \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..e95d3d1 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,9 @@ +{ + "semi": false, + "singleQuote": true, + "printWidth": 80, + "trailingComma": "all", + "arrowParens": "avoid", + "tabWidth": 2, + "endOfLine": "lf" +} \ No newline at end of file diff --git a/README.md b/README.md index e62e093..4f67b32 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ -# Vue 3 + Vite +# 技术选型 + - 本项目采用的vue3 + vite + js脚手架搭建 + - 包管理工具为Yarn -This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `