From 35ff2662ef233e65721e872b629bf3ad8b5eb630 Mon Sep 17 00:00:00 2001 From: jianjun Date: Mon, 13 Sep 2021 09:14:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=83=A8=E7=BD=B2=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=89=8D=E7=BC=80=20=E5=B9=B6=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 4 ++-- src/router/modules/root.js | 5 +++++ vue.config.js | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/public/index.html b/public/index.html index e273311..feca0bd 100644 --- a/public/index.html +++ b/public/index.html @@ -17,13 +17,13 @@ <% } %> diff --git a/src/router/modules/root.js b/src/router/modules/root.js index 94bae09..741c6ef 100644 --- a/src/router/modules/root.js +++ b/src/router/modules/root.js @@ -24,6 +24,11 @@ export default [ meta: {requireLogin: false}, component: () => import(/* webpackChunkName: 'root' */ '@/views/official/index.vue') }, + { + path: '/tduck-front', + meta: {requireLogin: false}, + component: () => import(/* webpackChunkName: 'root' */ '@/views/official/index.vue') + }, { path: '/payService', meta: {requireLogin: false}, diff --git a/vue.config.js b/vue.config.js index d1d82ce..8c9d938 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,7 +7,7 @@ function resolve(dir) { } module.exports = { - publicPath: '/', + publicPath: '/tduck-front', lintOnSave: process.env.NODE_ENV === 'development', productionSourceMap: false, devServer: {