mirror of
https://github.com/talktao/Vue3-Vite-Vant-TS-H5.git
synced 2025-04-06 03:57:55 +08:00
feat:清理不需要的包,以及修改路由
This commit is contained in:
parent
e4a2011fbc
commit
12bfca42ee
@ -18,8 +18,6 @@
|
||||
"@types/node": "^17.0.21",
|
||||
"@types/webpack-env": "^1.16.3",
|
||||
"@vitejs/plugin-vue": "^2.2.0",
|
||||
"eslint": "^8.11.0",
|
||||
"eslint-plugin-vue": "^8.5.0",
|
||||
"lib-flexible": "^0.3.2",
|
||||
"postcss-pxtorem": "^5.1.1",
|
||||
"sass": "^1.49.9",
|
||||
|
@ -44,7 +44,7 @@ const routes: Array<RouteRecordRaw> = [
|
||||
{
|
||||
path: '/detail/:id',
|
||||
name: 'Detail',
|
||||
component: () => import('@/views/Detail.vue')
|
||||
component: () => import('@/views/home/Detail.vue')
|
||||
}
|
||||
]
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user