Applet-uni-app: hbuildx uni-app installs uni-icons and uses them

1. Find uni-icons in official documents

uni-app official website

2. Download the plug-in

3. Click "Open HBuildX"

4. Select the project to install

5. Check the plug-ins to be installed

6. After installation, the project plug-in directory

Add uni-icons and uni-scss under the uni_modules directory of the root directory

Seven, introduce components, use components

<uni-icons type="phone-filled" size="26"></uni-icons>


import uniIcons from '../../../uni_modules/uni-icons/components/uni-icons/uni-icons.vue'


components: {
        uniIcons
},

Eight, after testing, success.

reference link

http://lihuaxi.xjx100.cn/news/1221122.html?action=onClick

Take the uniapp uni-icons component as an example to guide everyone to use and familiarize themselves with the document - overfit.cn

Guess you like

Origin blog.csdn.net/snowball_li/article/details/132287988
Recommended