about summary refs log tree commit diff
path: root/nuxt.config.js
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-12 10:41:00 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-12 10:41:00 +0200
commit7a17a28220a84c294728f572932b1619d92c1d95 (patch)
tree186db4bb0be788e19e9e4c4fc59a450b6ad31426 /nuxt.config.js
parent7fc483aa8cedbaeeef2a8ad0d2dbee5a9f73ac86 (diff)
downloadpuszcza-7a17a28220a84c294728f572932b1619d92c1d95.tar.gz
puszcza-7a17a28220a84c294728f572932b1619d92c1d95.zip
Add error logging
Diffstat (limited to 'nuxt.config.js')
-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)
+      }
+    }
   }
 }