m-plus
v0.1.4
Published
基于 Vue2.6 + element-ui 的组件库封装
Downloads
4
Readme
m-plus
当前框架为前端组针对项目中常用的组件,基于vue@2, elementUi的二次封装,方便在项目中使用,用法集中体现在examples中的APP.vue中。 项目已上传到npm库,可以用以下方法安装。
组件使用方法一
从packages里复制组件到自己的项目,调用方法见examples/App.vue
组件使用方法二
组件安装
npm install m-plus --save
在main.js中引入ElementUI和m-plus
import ElementUI from "element-ui";
import Mplus from "m-plus"; // 导入组件库
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);
Vue.use(Mplus); // 注册组件库
组件试运行
npm install
npm run serve
组件node版本
node 14相关版本