diff options
Diffstat (limited to 'nuxt.config.js')
-rw-r--r-- | nuxt.config.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuxt.config.js b/nuxt.config.js index 6ef4e09..016f39f 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,4 +1,4 @@ -import k from './api' +import { createRoutesArray } from './api/api.js' export default { mode: 'universal', @@ -34,7 +34,7 @@ export default { ] }, generate: { - routes: k.getPosts().map(post => post.route) + routes: createRoutesArray() }, /* ** Customize the progress-bar color |