commit 631d924798c022d1cb8863659e215b93415d89af Author: wally <18603454788@163.com> Date: Tue May 11 00:28:37 2021 +0800 背景及头部 diff --git a/.env b/.env new file mode 100644 index 0000000..ad10445 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +VITE_TITLE=智慧园区 diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..b933daa --- /dev/null +++ b/.env.development @@ -0,0 +1,5 @@ +VITE_API_URL=https://test.tall.wiki/gateway +VITE_ROOT_URL=https://test.tall.wiki +VITE_PROXY=[["/gateway", "https://test.tall.wiki/gateway"]] +VITE_BASE_URL=/gateway/logistics +VITE_PUBLIC_PATH=/public diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..2984715 --- /dev/null +++ b/.env.production @@ -0,0 +1,5 @@ +VITE_API_URL=https://www.tall.wiki/gateway +VITE_ROOT_URL=https://www.tall.wiki +VITE_PROXY=[["/gateway", "https://www.tall.wiki/gateway"]] +VITE_BASE_URL=/gateway/logistics +VITE_PUBLIC_PATH=/public diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..94f6803 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,21 @@ +module.exports = { + env: { + browser: true, + es2021: true, + }, + extends: [ + 'plugin:vue/essential', + 'airbnb-base', + ], + parserOptions: { + ecmaVersion: 12, + parser: '@typescript-eslint/parser', + sourceType: 'module', + }, + plugins: [ + 'vue', + '@typescript-eslint', + ], + rules: { + }, +}; diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d451ff1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +node_modules +.DS_Store +dist +dist-ssr +*.local diff --git a/README.md b/README.md new file mode 100644 index 0000000..a797a27 --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +# Vue 3 + Typescript + Vite + +This template should help get you started developing with Vue 3 and Typescript in Vite. + +## Recommended IDE Setup + +[VSCode](https://code.visualstudio.com/) + [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur). Make sure to enable `vetur.experimental.templateInterpolationService` in settings! + +### If Using ` + +
+ + + +