diff --git a/.browserslistrc b/.browserslistrc deleted file mode 100644 index 214388fe43cdfd7ce1c29cd3e401541ded620dba..0000000000000000000000000000000000000000 --- a/.browserslistrc +++ /dev/null @@ -1,3 +0,0 @@ -> 1% -last 2 versions -not dead diff --git a/.env.development b/.env.development index e49bd724b3c0eff4ba61e4ab71fdc298f8169b7b..44bf9369342eb03304c926eef3e74413ad358177 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ -VUE_APP_API = '/devApi' -VUE_APP_DEV_TARGET = 'http://v3.web-jshtml.cn/api' -# VUE_API_DEV_TARGET = 'http://v3.com/api' +VITE_APP_API = '/devApi' +VITE_APP_DEV_TARGET = 'http://v3.web-jshtml.cn/api' +# VITE_API_DEV_TARGET = 'http://v3.com/api' diff --git a/.env.production b/.env.production index 775d028236bb080d8a322562e178a78340606152..de0adac1a7e9199a6aa919ff3283c488e661966e 100644 --- a/.env.production +++ b/.env.production @@ -1 +1 @@ -VUE_APP_API = 'http://v3.web-jshtml.cn/api' \ No newline at end of file +VITE_APP_API = 'http://v3.web-jshtml.cn/api' \ No newline at end of file diff --git a/.env.test b/.env.test index 775d028236bb080d8a322562e178a78340606152..de0adac1a7e9199a6aa919ff3283c488e661966e 100644 --- a/.env.test +++ b/.env.test @@ -1 +1 @@ -VUE_APP_API = 'http://v3.web-jshtml.cn/api' \ No newline at end of file +VITE_APP_API = 'http://v3.web-jshtml.cn/api' \ No newline at end of file diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index 2734abe38eedba908994ba248e665ba9270726b2..0000000000000000000000000000000000000000 --- a/.eslintrc.js +++ /dev/null @@ -1,14 +0,0 @@ -module.exports = { - root: true, - env: { - node: true, - }, - extends: ["plugin:vue/vue3-essential", "eslint:recommended", "@vue/prettier"], - parserOptions: { - parser: "babel-eslint", - }, - rules: { - "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", - "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", - }, -}; diff --git a/.gitignore b/.gitignore index 4a2e5017696664037a197e679db1dcc1d17b3dbe..a547bf36d8d11a4f89c59c144f24795749086dd1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,20 +1,22 @@ -.DS_Store -node_modules - - -# local env files -.env.local -.env.*.local - -# Log files +# Logs +logs +*.log npm-debug.log* yarn-debug.log* yarn-error.log* pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local # Editor directories and files +.vscode/* +!.vscode/extensions.json .idea -.vscode +.DS_Store *.suo *.ntvs* *.njsproj diff --git a/README.md b/README.md index a2d4329f9720b15d405f2c547a9fa70b188f5072..e62e093e7092d1069ce0eb8f8497a66475e45d0b 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,7 @@ -# vue3-element-plus-admin +# Vue 3 + Vite -## Project setup -``` -npm install -``` +This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `