更新
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user