eye-vue-core
TypeScript icon, indicating that this package has built-in type declarations

8.0.5-beta • Public • Published

Eyejs

Web Framework 8.0.0.

Features

  • Support Custom Theme
  • Support TS
  • Support SSR

Quickstart

import BootVue from "eye-core"
import * as DefaultTheme from "./theme"
import TestFilter from "./filter/TestFilter"
import TestFilter1 from "./filter/TestFilter1"
import TestPlugin from "./plugins/TestPlugin"
 
BootVue.run({
 
    /**
     * Eye8 参数配置
     */
    config: {
        "monk":"https://gateway.cnhnkj.cn/monk",
        "banana": 'https://gateway.cnhnkj.cn/banana',
    },
 
    /**
     * Eye8 主题
     */
    theme: DefaultTheme,
 
    /**
     * Eye8 过滤器
     */
    filters:[
        TestFilter,
        TestFilter1
    ],
 
 
    /**
     * 扩展Vue属性
     */
    plugins: {
        "$app" : TestPlugin
    },
 
 
    /**
     * Eye8 路由
     */
    router:{
        routers: [
            {
                title: 'PageHome',
                path: 'main/index'
            },
            {
                title: 'PageHome1',
                path: 'main/test'
            }
        ],
    },
 
    /**
     * Eye8 全局事件通知
     */
    events: {
 
        onError:function (error) {
            console.error(error.errorMessage)
        },
    }
});

Links

Readme

Keywords

Package Sidebar

Install

npm i eye-vue-core

Weekly Downloads

5

Version

8.0.5-beta

License

MIT

Unpacked Size

956 kB

Total Files

298

Last publish

Collaborators

  • zhouhan102