generate dynamic routes config

This commit is contained in:
Kevin
2019-06-20 00:49:28 +02:00
parent b35d5bc356
commit 2f45ba4029

View File

@@ -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
*/