diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-12 10:41:00 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-12 10:41:00 +0200 |
commit | 7a17a28220a84c294728f572932b1619d92c1d95 (patch) | |
tree | 186db4bb0be788e19e9e4c4fc59a450b6ad31426 /nuxt.config.js | |
parent | 7fc483aa8cedbaeeef2a8ad0d2dbee5a9f73ac86 (diff) | |
download | puszcza-7a17a28220a84c294728f572932b1619d92c1d95.tar.gz puszcza-7a17a28220a84c294728f572932b1619d92c1d95.zip |
Add error logging
Diffstat (limited to 'nuxt.config.js')
-rw-r--r-- | nuxt.config.js | 9 |
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) + } + } } } |