refs #850 Replace router with typescript
This commit is contained in:
parent
b2c19bfaa5
commit
f46e7ee727
|
@ -12,7 +12,7 @@ import VueI18Next from '@panter/vue-i18next'
|
|||
|
||||
import './assets/fonts/fonts.css'
|
||||
import App from './App.vue'
|
||||
import router from './router'
|
||||
import router from '@/router'
|
||||
import store from './store'
|
||||
import i18next from '~/src/config/i18n'
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import Router from 'vue-router'
|
|||
|
||||
Vue.use(Router)
|
||||
|
||||
export default new Router({
|
||||
const router = new Router({
|
||||
routes: [
|
||||
{
|
||||
path: '/login',
|
||||
|
@ -156,3 +156,5 @@ export default new Router({
|
|||
}
|
||||
]
|
||||
})
|
||||
|
||||
export default router
|
Loading…
Reference in New Issue