Eye vue

EyeVue 基于Vue的底层开发API架构

Version: 8.6.18-beta Updated: 05/11/2021

By: zhuxiaolong License: MIT

Downloads Last 30 Days: 246

Install

npm i eye-vue
yarn add eye-vue

CDNs

bundle.run: https://bundle.run/eye-vue

jsDelivr: https://cdn.jsdelivr.net/npm/eye-vue

unpkg: https://unpkg.com/eye-vue

EyeVue

这里是 Eye 的 Vue 实现,开发和服务于企业级后台产品

QuickStart

import Vue from "vue"

// @ts-ignore
import EyeHSww, { Theme } from "eye-vue/es/hsww";

import "eye-vue/es/style/index.less"
import "eye-vue/es/hsww/style/index.less"
import "eye-vue/es/hsww/style/skin/land/index.less"
import './src/style/base.less';

// @ts-ignore
import DingTalkPlugin from "eye-vue/es/plugin/dingtalk"

// @ts-ignore
import RouterConfig from "@/router.config";

Vue.use(EyeHSww,{


    theme: Theme.land,

    /**
     * 扩展Vue属性
     */
    plugins: {
        "$login" : DingTalkPlugin
    },

    router:{
        /**
         * 路由设置
         */
        routers: [
            ...RouterConfig.routers
        ],
    },
})

Contributors



zhouhan102
commits

zhuxiaolong
commits

pepsilfs
commits

DevDependencies


Categories: Vue js