How to use Rubik UI, an open source UI component library
In this issue, the editor will bring you about how to use the open source UI component library Rubik UI. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.
RubikUI is an open source UI component library based on vue.js2.0+, which follows the MaterialDesign specification in interaction and visual design, and is suitable for PC and mobile. Some internal systems and some small applications are already in use, and the open source version is still under development.
RubikUI usage
Npm installation
$npminstalli-rubik--save
$yarnaddi-rubik
Rubik initialization
ImportVuefrom'vue'
ImportRubikfrom'i-rubik'
Vue.use (Rubik)
Exportdefault {
Name:'app'
Mounted () {
This.$rubik.init ()
}
}
Introduce fonts