diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-14 10:03:47 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-14 10:03:47 +0200 |
commit | d400b53bee9ba563810171c217710d4176b7c367 (patch) | |
tree | 49f339a0c05a51fedcf4d741d9828f63ab0046d3 /nuxt.config.js | |
parent | 5cfbd5b71d149419b0b80056e652ca94d26f1a95 (diff) | |
download | puszcza-d400b53bee9ba563810171c217710d4176b7c367.tar.gz puszcza-d400b53bee9ba563810171c217710d4176b7c367.zip |
Add kronikarz
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 016f39f..6ef4e09 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,4 +1,4 @@ -import { createRoutesArray } from './api/api.js' +import k from './api' export default { mode: 'universal', @@ -34,7 +34,7 @@ export default { ] }, generate: { - routes: createRoutesArray() + routes: k.getPosts().map(post => post.route) }, /* ** Customize the progress-bar color |