OpeAts是基于ElemetUI的VUE组件库。
截图安装pmistallopeats-Soryaraddopeats快速开始OpeAts组件是基于Elemet开发,所以在你安装安装OpeAts我们将自动帮你安装ElemetUI,而无需你自己安装,我们建议elemetUI全局引入!全局使用OpeAtsmai.js中的配置importVuefrom'vue';importElemetUIfrom'elemet-ui';//需要引入elemet-uiimport'elemet-ui/lib/theme-chalk/idex.css';//需要引入elemet-ui的主题文件importOpeAtsfrom'opeats';//需要引入OpeAtsimport"opeats/lib/opeats.css";//需要引入OpeAts的css文件importAppfrom'./App.vue';Vue.use(ElemetUI);//将ElemetUI组件注册到VUEVue.use(OpeAts);//将ElemetUIOpeAtsewVue({el:'#app',reder:h=>h(App)});按需使用OpeAtsmai.js中的配置
importVuefrom'vue';importElemetUIfrom'elemet-ui';//需要引入elemet-uiimport'elemet-ui/lib/theme-chalk/idex.css';//需要引入elemet-ui的主题文件import{bt,xxx}from'opeats';//需要引入OpeAtsimport"opeats/lib/opeats.css";//需要引入OpeAts的css文件importAppfrom'./App.vue';Vue.use(ElemetUI);//将ElemetUI组件注册到VUEVue.compoet(bt.ame,bt);Vue.compoet(xxx.ame,xxx);/*或写为*Vue.use(bt)*Vue.use(xxx)*/ewVue({el:'#app',reder:h=>h(App)});完整教程https://docs.upor.com/docs/opeats_for_vue/opeats_for_vue-1c9f9qf36cl9










评论