11import Vue from 'vue' ;
22import Router from 'vue-router' ;
33< % _ if ( options . useAuthorisation ) { _ % >
4- import AuthorisationGuard from './guards/AuthorisationGuard' ;
4+ import AuthorisationGuard from '.. /guards/AuthorisationGuard' ;
55< % _ } _ % >
66
77Vue . use ( Router ) ;
@@ -32,17 +32,17 @@ export default new Router({
3232 {
3333 path : '/password/forgotten' ,
3434 name : 'password.forgotten' ,
35- component : ( ) => import ( '. /views/PasswordForgotten.vue' ) ,
35+ component : ( ) => import ( '@ /views/PasswordForgotten.vue' ) ,
3636 } ,
3737 {
3838 path : '/password/reset/:token' ,
3939 name : 'password.reset' ,
40- component : ( ) => import ( '. /views/PasswordReset.vue' ) ,
40+ component : ( ) => import ( '@ /views/PasswordReset.vue' ) ,
4141 } ,
4242 {
4343 path : '/invitation/accept/:token' ,
4444 name : 'invitation.accept' ,
45- component : ( ) => import ( '. /views/InvitationAccept.vue' ) ,
45+ component : ( ) => import ( '@ /views/InvitationAccept.vue' ) ,
4646 } ,
4747 ]
4848 } ,
@@ -63,18 +63,18 @@ export default new Router({
6363 {
6464 path : '/users' ,
6565 name : 'users' ,
66- component : ( ) => import ( '. /views/UserResource.vue' )
66+ component : ( ) => import ( '@ /views/UserResource.vue' )
6767 } ,
6868 < % _ } _ % >
6969 {
7070 path : '/404' ,
7171 name : '404' ,
72- component : ( ) => import ( '. /views/PageNotFound.vue' ) ,
72+ component : ( ) => import ( '@ /views/PageNotFound.vue' ) ,
7373 } ,
7474 {
7575 path : '/403' ,
7676 name : '403' ,
77- component : ( ) => import ( '. /views/PageForbidden.vue' ) ,
77+ component : ( ) => import ( '@ /views/PageForbidden.vue' ) ,
7878 } ,
7979 {
8080 path : '*' ,
0 commit comments