JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q53700F
  • License ISC

Besender-ui Vue2 组件库

Package Exports

  • besender
  • besender/lib/besender.umd.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (besender) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Besender UI

Besender官网

基础UI库之上的高定制化UI库,使用公司全部Vue2架构项目,内部人员请阅读README.PRIVATE.MD

使用方式

全局使用

/src/main.js

import Vue from "vue";
import App from "./App.vue";
// 导入组件库
import besender from "besender";
// 全局注册组件库,Vue.use()提供注册插件,插件对象需包含一个install函数。具体可查看官方文档
Vue.use(besender);
Vue.config.productionTip = false;
new Vue({
  render: (h) => h(App),
}).$mount("#app");

按需引用

/src/main.js

//main.js
import Vue from "vue";
import App from "./App.vue";
// 导入组件库
import { BButton} from "besender";
// 按需注册组件
Vue.use(BButton);
Vue.config.productionTip = false;

new Vue({
  render: (h) => h(App),
}).$mount("#app");