diff --git a/.env.dev b/.env.dev new file mode 100644 index 0000000..411b5e4 --- /dev/null +++ b/.env.dev @@ -0,0 +1,3 @@ +NODE_ENV = 'development' +VITE_APP_OSS = 'https://oss.injs.jsxww.cn' +VITE_APP_API = 'https://api.op.injs.jsxww.cn' diff --git a/.env.prod b/.env.prod new file mode 100644 index 0000000..a8067af --- /dev/null +++ b/.env.prod @@ -0,0 +1,3 @@ +NODE_ENV = 'production' +VITE_APP_OSS = 'https://oss.injs.jsxww.cn' +VITE_APP_API = 'https://api.op.injs.jsxww.cn' diff --git a/.env.test b/.env.test new file mode 100644 index 0000000..a8067af --- /dev/null +++ b/.env.test @@ -0,0 +1,3 @@ +NODE_ENV = 'production' +VITE_APP_OSS = 'https://oss.injs.jsxww.cn' +VITE_APP_API = 'https://api.op.injs.jsxww.cn' diff --git a/package.json b/package.json index c073482..e836f7d 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,9 @@ "private": true, "version": "1.0.0", "scripts": { - "dev": "vite", - "build": "vite build", + "dev": "vite --mode dev", + "build-test": "vite build --mode test", + "build-prod": "vite build --mode prod", "preview": "vite preview" }, "dependencies": { diff --git a/public/9c67d262-f53e-4358-9f99-beef9538e579.mp4 b/public/9c67d262-f53e-4358-9f99-beef9538e579.mp4 new file mode 100644 index 0000000..d164cf5 Binary files /dev/null and b/public/9c67d262-f53e-4358-9f99-beef9538e579.mp4 differ diff --git a/src/App.vue b/src/App.vue index 0470807..bcb5065 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,8 +2,8 @@ import { NMessageProvider, NConfigProvider, zhCN, dateZhCN } from 'naive-ui' -import {theme} from "./global/config"; -import HappyBoot from "./HappyBoot.vue"; +import {theme} from "@/global/config"; +import HappyBoot from "@/HappyBoot.vue";