chore: migrate to composition API and auth0-spa

This commit is contained in:
argoyle committed 2020-01-23 20:57:59 +01:00
1 parent 565a3aa66e
commit e6c87e2f46
44 files changed
+2489 -1585

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
let i18n = null
let localePath = null
export const useTranslation = () => {
return {
t: i18n.t.bind(i18n),
localePath
}
}
export default ({app}) => {
i18n = app.i18n
localePath = app.localePath
}