base path / not /vue (frontend)

This commit is contained in:
Ulf Gebhardt 2022-01-05 11:55:59 +01:00
parent 60848cc818
commit a49cf65f0f
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ import routes from './routes'
Vue.use(VueRouter)
const router = new VueRouter({
base: '/vue',
base: '/',
routes,
linkActiveClass: 'active',
mode: 'history',

View File

@ -6,10 +6,10 @@ describe('router', () => {
const { options } = router
const { scrollBehavior, routes } = options
it('has "/vue" as base', () => {
it('has "/" as base', () => {
expect(options).toEqual(
expect.objectContaining({
base: '/vue',
base: '/',
}),
)
})