Fix routes for subfolder installation

This commit is contained in:
Bubka 2020-01-06 10:59:23 +01:00
parent 5494877822
commit 7611f9b61c

10
resources/js/app.js vendored
View File

@ -22,27 +22,27 @@ const router = new VueRouter({
mode: 'history', mode: 'history',
routes: [ routes: [
{ {
path: '/', path: './',
name: 'accounts', name: 'accounts',
component: Accounts component: Accounts
}, },
{ {
path: '/login', path: './login',
name: 'login', name: 'login',
component: Login, component: Login,
}, },
{ {
path: '/register', path: './register',
name: 'register', name: 'register',
component: Register, component: Register,
}, },
{ {
path: '/create', path: './create',
name: 'create', name: 'create',
component: Create, component: Create,
}, },
{ {
path: '/edit/:twofaccountId', path: './edit/:twofaccountId',
name: 'edit', name: 'edit',
component: Edit, component: Edit,
}, },