Skip to content

Commit

Permalink
chore: 优化vite子应用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
bailicangdu committed Nov 4, 2021
1 parent 391f643 commit aee6c8c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions examples/main-vue3-vite/src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,37 +14,37 @@ const routes = [
{
path: '/react17/:page*',
name: 'react17',
component: () => import(/* webpackChunkName: "react17" */ '../pages/react17.vue'),
component: () => import('../pages/react17.vue'),
},
{
path: '/vue2/:page*',
name: 'vue2',
component: () => import(/* webpackChunkName: "vue2" */ '../pages/vue2.vue'),
component: () => import('../pages/vue2.vue'),
},
{
path: '/vue3/:page*',
name: 'vue3',
component: () => import(/* webpackChunkName: "vue3" */ '../pages/vue3.vue'),
component: () => import('../pages/vue3.vue'),
},
{
path: '/vite/:page*',
name: 'vite',
component: () => import(/* webpackChunkName: "vite" */ '../pages/vite.vue'),
component: () => import('../pages/vite.vue'),
},
{
path: '/angular11/:page*',
name: 'angular11',
component: () => import(/* webpackChunkName: "angular11" */ '../pages/angular11.vue'),
component: () => import('../pages/angular11.vue'),
},
{
path: '/multiple/:page*',
name: 'multiple',
component: () => import(/* webpackChunkName: "multiple" */ '../pages/multiple.vue'),
component: () => import('../pages/multiple.vue'),
},
{
path: '/self/:page*',
name: 'self',
component: () => import(/* webpackChunkName: "self" */ '../pages/self.vue'),
component: () => import('../pages/self.vue'),
},
];

Expand Down

0 comments on commit aee6c8c

Please sign in to comment.