|
|
@@ -2,6 +2,7 @@ import Vue from 'vue'; |
|
|
|
import VueRouter from 'vue-router'; |
|
|
|
|
|
|
|
import PasswordGenerator from './components/PasswordGenerator'; |
|
|
|
import PasswordResetConfirm from './components/PasswordResetConfirm'; |
|
|
|
import Login from './components/Login'; |
|
|
|
import Register from './components/Register'; |
|
|
|
import ForgotPassword from './components/ForgotPassword'; |
|
|
@@ -11,6 +12,7 @@ Vue.use(VueRouter); |
|
|
|
|
|
|
|
const routes = [ |
|
|
|
{path: '/', component: PasswordGenerator}, |
|
|
|
{path: '/password/reset/confirm/:uid/:token', name:'passwordResetConfirm', component: PasswordResetConfirm}, |
|
|
|
]; |
|
|
|
|
|
|
|
const router = new VueRouter({ |
|
|
|