RubikUIisaMaterialDesignstyleuilibrarybasedVue.js2.0+whichcanbeusedforPCandMobile.
RubikUI是一个基于Vue.js2.0+的开源UI组件库,在交互和视觉设计上遵循MaterialDesign规范,适用于PC端和mobile端。
GitHubhttps://github.com/ccforward/rubik
NPMSupportSupportVue.js2.0+
NotsupportVue.js1.x
Demohttps://ccforward.github.io/rubik/
https://rubik.ccforward.net/
Usagenpminstall$npminstalli-rubik--save$yarnaddi-rubikRubikinitimportVuefrom'vue'importRubikfrom'i-rubik'Vue.use(Rubik)exportdefault{name:'app',mounted(){this.$rubik.init()}}iconfontMaterialDesign'siconfonthasbeenwrittenedincssfile
importcss<linkhref="./node_modules/i-rubik/dist/rubik.min.css"rel="stylesheet"type="text/css">OR
<linkhref="//unpkg.com/i-rubik/dist/rubik.min.css"rel="stylesheet"type="text/css">ReleatedProjectsRubikUI的部分组件和样式代码参考了以下项目
Thanksto
materializecssmaterial-uiiviewvuetify
评论