One, download the colorui source code
Official website: https://www.color-ui.com/
GitHub:https://github.com/weilanwl/ColorUI
Second, use
1. This is the downloaded colorui file, open the directory /demo/colorui , and copy the two files icon.wxss and main.wxss to your project
2. Then introduce the following two files in app.wxss :
3. Use components
Column: If we use the cu-custom component, we need to define the following in app.json
Import the required page into index.wxml
effect
Three, view
Directly import the demo file of the current file source code into the applet to view the source code analysis
If you use colorui to write a small program, you can use it directly by importing the colorui style source code. Copy the required source code in the demo we opened to the project to use the components inside