Logged in/ Logged out

- Created midlewares for authenticated and guest]
- Add the token to the api calls
- Added redirect after the login
This commit is contained in:
2020-11-11 20:26:45 +00:00
parent fe1a5d77c3
commit 6945c27ec0
13 changed files with 597 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
export default {
// Global page headers (https://go.nuxtjs.dev/config-head)
head: {
title: 'comedy-video',
titleTemplate: 'ComedyLib: %s',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },