about summary refs log tree commit diff
path: root/nuxt.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'nuxt.config.js')
-rw-r--r--nuxt.config.js7
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) { }
   }
 }