diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-11 19:08:14 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-11 19:08:14 +0200 |
commit | 1e248151d5bd60e8c94ab26f272e5e9cf900ca7a (patch) | |
tree | 1202575ae8f069e05b08babe899fb614c02e3366 /nuxt.config.js | |
parent | 72549ed7b81fc01445fecdb7889bab4cf2a1590f (diff) | |
download | puszcza-1e248151d5bd60e8c94ab26f272e5e9cf900ca7a.tar.gz puszcza-1e248151d5bd60e8c94ab26f272e5e9cf900ca7a.zip |
Add folder structure parser
Diffstat (limited to 'nuxt.config.js')
-rw-r--r-- | nuxt.config.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nuxt.config.js b/nuxt.config.js index a0ae413..caccc2b 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,3 +1,5 @@ +import { createRoutesArray } from './api/api.js' + export default { mode: 'universal', /* @@ -31,6 +33,9 @@ export default { } ] }, + generate: { + routes: createRoutesArray + }, /* ** Customize the progress-bar color */ @@ -67,6 +72,6 @@ export default { /* ** You can extend webpack config here */ - extend(config, ctx) {} + extend(config, ctx) { } } } |