generate dynamic routes config
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import pkg from './package'
|
||||
import store from './store.json'
|
||||
|
||||
export default {
|
||||
mode: 'universal',
|
||||
@@ -26,6 +27,13 @@ export default {
|
||||
]
|
||||
},
|
||||
|
||||
/*
|
||||
** Generate dynamic routes
|
||||
*/
|
||||
generate: {
|
||||
routes: store.map(category => category.slug)
|
||||
},
|
||||
|
||||
/*
|
||||
** Customize the progress-bar color
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user