Merge pull request #885 from h3poteto/iss-850

refs #850 Replace router with typescript
This commit is contained in:
AkiraFukushima 2019-04-17 21:13:55 +09:00 committed by GitHub
commit 21cd02bf64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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