Skip to content

Commit

Permalink
update todo items
Browse files Browse the repository at this point in the history
  • Loading branch information
williamyorkl authored and williamyorkl committed Oct 8, 2021
1 parent 59d3098 commit cd2b28a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ function VitePluginVue2Suffix() {
routerImportArr.forEach((i) => {
// console.log('handleRouteVueSuffixImport -> i', i)
if (i.includes(".vue")) return;
// TODO - 处理路由目录可配置化
if (i.includes("/views") || i.includes("/components")) {
newRouterImportArr.push(`${i}`);
}
Expand Down

0 comments on commit cd2b28a

Please sign in to comment.