refs #850 Replace router with typescript

This commit is contained in:
AkiraFukushima 2019-04-17 21:05:47 +09:00
parent b2c19bfaa5
commit f46e7ee727
2 changed files with 4 additions and 2 deletions

View File

@ -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'

View File

@ -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