about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nuxt.config.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/nuxt.config.js b/nuxt.config.js
index abc71cb..a98a7c7 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -78,5 +78,14 @@ export default {
         use: ['raw-loader']
       })
     }
+  },
+  hooks: {
+    generate: {
+      routeCreated({ route, path, errors }) {
+        console.log(route)
+        console.log(path)
+        console.log(errors)
+      }
+    }
   }
 }