2021-03-12 04:43:07 +00:00
|
|
|
/*
|
|
|
|
* Authors: see git history
|
|
|
|
*
|
|
|
|
* Copyright (c) 2010 Authors
|
|
|
|
* Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-04-28 16:34:05 +00:00
|
|
|
import Vue from 'vue'
|
|
|
|
import Router from 'vue-router'
|
|
|
|
|
|
|
|
Vue.use(Router)
|
|
|
|
|
|
|
|
export default new Router({
|
|
|
|
routes: [
|
2020-08-19 18:53:01 +00:00
|
|
|
{
|
|
|
|
path: '/simulator',
|
|
|
|
name: 'simulator',
|
|
|
|
component: require('@/components/Simulator').default
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/install',
|
|
|
|
name: 'install',
|
|
|
|
component: require('@/components/InstallPalettes').default
|
|
|
|
},
|
2022-07-29 22:17:50 +00:00
|
|
|
{
|
|
|
|
path: '/preferences',
|
|
|
|
name: 'preferences',
|
|
|
|
component: require('@/components/Preferences').default
|
|
|
|
},
|
2020-08-19 18:53:01 +00:00
|
|
|
{
|
|
|
|
path: '*',
|
|
|
|
redirect: '/'
|
|
|
|
}
|
2020-04-28 16:34:05 +00:00
|
|
|
]
|
|
|
|
})
|