更新
This commit is contained in:
@@ -4,10 +4,10 @@ import VueRouter from 'vue-router'
|
||||
Vue.use(VueRouter)
|
||||
|
||||
const routes = [
|
||||
// {
|
||||
// path: '/',
|
||||
// redirect: '/home'
|
||||
// },
|
||||
{
|
||||
path: '/',
|
||||
redirect: '/home'
|
||||
},
|
||||
{
|
||||
meta: { title: '首页', index: 0, closeNavBar: true },
|
||||
path: '/home',
|
||||
|
||||
@@ -5,7 +5,7 @@ function resolve(dir) {
|
||||
return path.join(__dirname, dir)
|
||||
}
|
||||
module.exports = defineConfig({
|
||||
publicPath: '/h5/',
|
||||
publicPath: '/h5',
|
||||
outputDir: 'dist',
|
||||
assetsDir: './static',
|
||||
transpileDependencies: true,
|
||||
|
||||
Reference in New Issue
Block a user