Add nuxt auth module

This commit is contained in:
2020-04-23 00:09:37 +02:00
parent f0b5682a25
commit 0096fb0a00
9 changed files with 98 additions and 125 deletions
+7
View File
@@ -0,0 +1,7 @@
export default function ({ $axios }) {
$axios.onRequest(config => {
console.log('Making request to ' + config.url)
})
$axios.setBaseURL('http://localhost:8081')
}