mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 08:37:23 +00:00
chore(cli): fix missing route name
This commit is contained in:
@@ -61,7 +61,7 @@ function getRoutes() {
|
||||
|
||||
function addHomeRoute(Home, lang) {
|
||||
routes.push({
|
||||
name: lang,
|
||||
name: lang || 'home',
|
||||
path: `/${lang || ''}`,
|
||||
component: Home,
|
||||
meta: { lang },
|
||||
|
Reference in New Issue
Block a user