Skip to content

Commit e27e679

Browse files
committed
fix: make sure router.js passes airbnb lint
close vuejs#1956
1 parent a22e977 commit e27e679

File tree

1 file changed

+1
-4
lines changed
  • packages/@vue/cli-service/generator/router/template/src

1 file changed

+1
-4
lines changed

packages/@vue/cli-service/generator/router/template/src/router.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ export default new Router({
1717
// route level code-splitting
1818
// this generates a separate chunk (about.[hash].js) for this route
1919
// which is lazy-loaded when the route is visited.
20-
component: () => import(
21-
/* webpackChunkName: "about" */
22-
'./views/About.vue'
23-
)
20+
component: () => import(/* webpackChunkName: "about" */ './views/About.vue')
2421
}
2522
]
2623
})

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy