diff --git a/resources/js/router-app.js b/resources/js/router-app.js index 065e683..9f36677 100644 --- a/resources/js/router-app.js +++ b/resources/js/router-app.js @@ -5,6 +5,7 @@ import Blog from './views/Blog.vue'; import BlogArticle from './views/BlogArticle.vue'; import Snippets from './views/Snippets.vue'; import Contact from './views/Contact.vue'; +import Login from './views/Login.vue'; import NotFound from './views/NotFound.vue'; @@ -14,6 +15,7 @@ const routes = [ { path: '/blog/:year/:month/:day/:id-:slug', name: 'blog-article', component: BlogArticle, props: true }, { path: '/snippets', name: 'snippets', component: Snippets }, { path: '/contact', name: 'contact', component: Contact }, + { path: '/login', name: 'login', component: Login }, { path: '/:pathMatch(.*)*', name: 'NotFound', component: NotFound }, ]; diff --git a/resources/js/views/Login.vue b/resources/js/views/Login.vue new file mode 100644 index 0000000..61ffba7 --- /dev/null +++ b/resources/js/views/Login.vue @@ -0,0 +1,67 @@ + + + + + + Authenticated with token ID {{ tokenId }} + Authentication status: {{ status ? 'Valid' : 'Invalid' }} + Refresh + + + + +
+ Authenticated with token ID {{ tokenId }} + Authentication status: {{ status ? 'Valid' : 'Invalid' }} + Refresh +