2016-12-28 16:49:51 -06:00
|
|
|
/**
|
|
|
|
* Developer Center
|
|
|
|
*/
|
|
|
|
|
2017-02-18 21:31:23 -06:00
|
|
|
// Style
|
2017-02-19 00:36:53 -06:00
|
|
|
import './style.styl';
|
2017-02-18 21:31:23 -06:00
|
|
|
|
2017-05-17 15:06:55 -05:00
|
|
|
import init from '../init';
|
2016-12-28 16:49:51 -06:00
|
|
|
|
2018-02-27 09:11:28 -06:00
|
|
|
import Index from './views/index.vue';
|
|
|
|
import Apps from './views/apps.vue';
|
|
|
|
import AppNew from './views/new-app.vue';
|
|
|
|
import App from './views/app.vue';
|
|
|
|
|
2016-12-28 16:49:51 -06:00
|
|
|
/**
|
2017-05-17 15:06:55 -05:00
|
|
|
* init
|
2016-12-28 16:49:51 -06:00
|
|
|
*/
|
2018-02-27 09:11:28 -06:00
|
|
|
init(launch => {
|
|
|
|
// Launch the app
|
|
|
|
const [app] = launch();
|
|
|
|
|
|
|
|
// Routing
|
|
|
|
app.$router.addRoutes([
|
|
|
|
{ path: '/', component: Index },
|
|
|
|
{ path: '/app', component: Apps },
|
|
|
|
{ path: '/app/new', component: AppNew },
|
|
|
|
{ path: '/app/:id', component: App },
|
|
|
|
]);
|
2016-12-28 16:49:51 -06:00
|
|
|
});
|