0.0.25 • Published 5 years ago

evo-ui v0.0.25

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago