* Remove Nuxt Auth from the project, and switch to a custom solution * Replace old testing code * Remove warnings * Add comments to hard to understand function calls in middleware * Use arrow functions
4 lines
77 B
JavaScript
4 lines
77 B
JavaScript
export default ({ store }, inject) => {
|
|
inject('auth', store.state.auth)
|
|
}
|