From 6e376b93d1eab4d82ef20d19d1e23bbf653e6b16 Mon Sep 17 00:00:00 2001 From: gitboyzcf Date: Tue, 16 Jul 2024 10:21:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(custom):=20=E4=BF=AE=E5=A4=8D=E5=9F=BA?= =?UTF-8?q?=E7=A1=80=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 16 ++++++++++++++++ manifest.config.js | 1 + src/manifest.json | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6d5e6ea --- /dev/null +++ b/.gitattributes @@ -0,0 +1,16 @@ +*.html text eol=lf +*.css text eol=lf +*.js text eol=lf +*.scss text eol=lf +*.vue text eol=lf +*.hbs text eol=lf +*.sh text eol=lf +*.md text eol=lf +*.json text eol=lf +*.yml text eol=lf +.browserslistrc text eol=lf +.editorconfig text eol=lf +.eslintignore text eol=lf +.gitattributes text eol=lf +LICENSE text eol=lf +*.conf text eol=lf \ No newline at end of file diff --git a/manifest.config.js b/manifest.config.js index cf18be0..534571a 100644 --- a/manifest.config.js +++ b/manifest.config.js @@ -7,6 +7,7 @@ import { loadEnv } from 'vite' const env = loadEnv(process.env.NODE_ENV, path.resolve(process.cwd())) const { VITE_APP_TITLE, VITE_UNI_APPID, VITE_WX_APPID, VITE_APP_PUBLIC_BASE } = env +console.log(env); export default defineManifestConfig({ name: VITE_APP_TITLE, appid: VITE_UNI_APPID, diff --git a/src/manifest.json b/src/manifest.json index 2f4ed4d..9ea8487 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -74,7 +74,7 @@ "locale": "zh-Hans", "h5": { "router": { - "base": "/" + "base": "./" } } } \ No newline at end of file