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

Commit aa28b06

Browse files
committed
refactor(nuxt.config.ts): change directory name from templates to routed-pages
1 parent 6224a31 commit aa28b06

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ module.exports = {
123123
routes.push({
124124
name: 'ab',
125125
path: '/example/(c|d)-:a/(e|f)-:b/*',
126-
component: resolve(__dirname, 'src/templates/custom-path.vue')
126+
component: resolve(__dirname, 'src/routed-pages/custom-path.vue')
127127
})
128128
}
129129
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# TEMPLATES
1+
# ROUTED_PAGES
22

33
This directory contains your Application Views and Routes.
44
The framework reads all the `*.vue` files inside this directory and creates the router of your application.
@@ -8,4 +8,4 @@ More information about the usage of this directory in [the documentation](https:
88
router の extendRoutes でルーティングをカスタムすると `*.vue` ファイルは直接見られたくないけど、
99
ルーティングのときには表示したいページがある。
1010

11-
それを templates に置くことで、 pages のようにファイルを置くと見られるということがなくなる。
11+
それを routed-pages に置くことで、 pages のようにファイルを置くと見られるということがなくなる。
File renamed without changes.

0 commit comments

Comments
 (0)