0.0.25 • Published 4 years ago
evo-ui v0.0.25
WIP Evo UI Toolkit (Experimental)
Please ignore for now.
import { Bootstrap } from 'evo-ui';
import App from './components/App';
import Home from './components/Page/Home';
import Status from "./components/Page/Status";
import Legal from "./components/Page/Legal";
import NotFound from './components/Page/NotFound';
import Mixin from "./Mixin";
let base = window.app.domain_base;
const routes = [
{ path: base, name: 'home', component: Home },
{ path: base + 'cart', name: 'cart', component: Cart },
{ path: base + 'status', name: 'status', component: Status },
{ path: base + 'legal/:type', name: 'legal', component: Legal },
{ path: '*', name: 'notfound', component: NotFound },
];
const components = {
App
};
const states = {
theme: 'light',
dim: false,
cart: []
};
Vue.mixin(Mixin);
let scrollBehavior = function (to, from, savedPosition) {
return { x: 0, y: 0 };
};
let actions = {};
Bootstrap.make({
routes,
components,
states,
scrollBehavior,
actions,
}).$mount('#app-wrapper');
0.0.25
4 years ago
0.0.24
4 years ago
0.0.23
4 years ago
0.0.22
4 years ago
0.0.21
4 years ago
0.0.20
4 years ago
0.0.19
4 years ago
0.0.18
4 years ago
0.0.17
5 years ago
0.0.16
5 years ago
0.0.15
5 years ago
0.0.14
5 years ago
0.0.13
5 years ago
0.0.12
5 years ago
0.0.11
5 years ago
0.0.10
5 years ago
0.0.9
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago