pull/2/head
xiaozhiyong 2 years ago
parent 36944296e4
commit b1e0856a08
  1. 8
      src/router/index.js
  2. 2
      vue.config.js

@ -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,

Loading…
Cancel
Save