This commit is contained in:
xiaozhiyong
2023-04-06 14:03:14 +08:00
parent 36944296e4
commit b1e0856a08
2 changed files with 5 additions and 5 deletions

View File

@@ -4,10 +4,10 @@ import VueRouter from 'vue-router'
Vue.use(VueRouter) Vue.use(VueRouter)
const routes = [ const routes = [
// { {
// path: '/', path: '/',
// redirect: '/home' redirect: '/home'
// }, },
{ {
meta: { title: '首页', index: 0, closeNavBar: true }, meta: { title: '首页', index: 0, closeNavBar: true },
path: '/home', path: '/home',

View File

@@ -5,7 +5,7 @@ function resolve(dir) {
return path.join(__dirname, dir) return path.join(__dirname, dir)
} }
module.exports = defineConfig({ module.exports = defineConfig({
publicPath: '/h5/', publicPath: '/h5',
outputDir: 'dist', outputDir: 'dist',
assetsDir: './static', assetsDir: './static',
transpileDependencies: true, transpileDependencies: true,