Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.

Commit 4f9f875

Browse files
committed
refactor: change component path of routers
1 parent a0bd364 commit 4f9f875

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/routers/custom-path.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ export default function(
66
return {
77
name: 'custom-path',
88
path: '/example/(c|d)-:a/(e|f)-:b/*',
9-
component: resolve(__dirname, '../../src/routed-pages/custom-path.vue')
9+
component: resolve(__dirname, '../routed-pages/custom-path.vue')
1010
}
1111
}

src/routers/include.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ export default function(
66
return {
77
name: 'include',
88
path: '/include',
9-
component: resolve(__dirname, '../../src/include/include.vue')
9+
component: resolve(__dirname, '../include/include.vue')
1010
}
1111
}

0 commit comments

Comments
 (0)