Merge pull request #885 from h3poteto/iss-850
refs #850 Replace router with typescript
This commit is contained in:
commit
21cd02bf64
|
@ -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