mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-25 23:03:47 +01:00
* Fixes css to have full containers * Adds split panes * Fixes background color * Fixes splitter * Fixes tests * Adds more tests * Updates tests * Adds vuex * Moves splitpane to app * Moves the panes to app * Fixes columns with min-width * Update packages * Updates html to have better components * Updates npm packages * Fixes scrollar * Creates a scrollable view * Fixes App specs * Adds vuex for component * Updates to use splitpanes * Styles splitter * Removes fetch-mock
38 lines
641 B
JavaScript
38 lines
641 B
JavaScript
import Vue from "vue";
|
|
import VueRouter from "vue-router";
|
|
import Meta from "vue-meta";
|
|
import Vuex from "vuex";
|
|
import store from "./store";
|
|
import App from "./App.vue";
|
|
import Container from "./pages/Container.vue";
|
|
import Index from "./pages/Index.vue";
|
|
|
|
Vue.use(VueRouter);
|
|
Vue.use(Meta);
|
|
|
|
const routes = [
|
|
{
|
|
path: "/",
|
|
component: Index,
|
|
name: "default"
|
|
},
|
|
{
|
|
path: "/container/:id",
|
|
component: Container,
|
|
name: "container",
|
|
props: true
|
|
}
|
|
];
|
|
|
|
const router = new VueRouter({
|
|
mode: "history",
|
|
base: BASE_PATH + "/",
|
|
routes
|
|
});
|
|
|
|
new Vue({
|
|
router,
|
|
store,
|
|
render: h => h(App)
|
|
}).$mount("#app");
|