Signup form

This commit is contained in:
Eliot Berriot 2018-02-24 14:34:28 +01:00
parent 55b38a3f6e
commit 119e05e633
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
4 changed files with 155 additions and 1 deletions

View file

@ -3,6 +3,7 @@ import Router from 'vue-router'
import PageNotFound from '@/components/PageNotFound'
import Home from '@/components/Home'
import Login from '@/components/auth/Login'
import Signup from '@/components/auth/Signup'
import Profile from '@/components/auth/Profile'
import Settings from '@/components/auth/Settings'
import Logout from '@/components/auth/Logout'
@ -38,6 +39,11 @@ export default new Router({
component: Login,
props: (route) => ({ next: route.query.next || '/library' })
},
{
path: '/signup',
name: 'signup',
component: Signup
},
{
path: '/logout',
name: 'logout',