mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-12-01 20:04:25 +01:00
50 lines
1.1 KiB
JavaScript
50 lines
1.1 KiB
JavaScript
|
import Vue from 'vue'
|
||
|
import Router from 'vue-router'
|
||
|
import DownloadConfig from './views/DownloadConfig.vue'
|
||
|
import SelectPackages from './views/SelectPackages.vue'
|
||
|
import ErrorView from './views/ErrorView.vue'
|
||
|
import InstallPackages from './views/InstallPackages.vue'
|
||
|
import CompleteView from './views/CompleteView.vue'
|
||
|
import ModifyView from './views/ModifyView.vue'
|
||
|
|
||
|
Vue.use(Router)
|
||
|
|
||
|
export default new Router({
|
||
|
routes: [
|
||
|
{
|
||
|
path: '/config',
|
||
|
name: 'config',
|
||
|
component: DownloadConfig
|
||
|
},
|
||
|
{
|
||
|
path: '/packages',
|
||
|
name: 'packages',
|
||
|
component: SelectPackages
|
||
|
},
|
||
|
{
|
||
|
path: '/install/:kind',
|
||
|
name: 'install',
|
||
|
component: InstallPackages
|
||
|
},
|
||
|
{
|
||
|
path: '/showerr',
|
||
|
name: 'showerr',
|
||
|
component: ErrorView
|
||
|
},
|
||
|
{
|
||
|
path: '/complete/:uninstall/:update/:packages_installed',
|
||
|
name: 'complete',
|
||
|
component: CompleteView
|
||
|
},
|
||
|
{
|
||
|
path: '/modify',
|
||
|
name: 'modify',
|
||
|
component: ModifyView
|
||
|
},
|
||
|
{
|
||
|
path: '/',
|
||
|
redirect: '/config'
|
||
|
}
|
||
|
]
|
||
|
})
|