Standing on the shoulders of predecessors, he sorted it out.
Project in symbol mode, download to local
Unzip, open the folder, and enter CMD
Enter, and execute the code
npm install -g iconfont-tools
Copy the code
When finished, continue to execute in this directory
iconfont-tools
Copy the code
Fill in the information as prompted
When this happens, a new folder iconfont- downloadp is generated under the folder
Open this folder and copy the iconfont-appellate -icon. CSS file to the static directory
Is this
The app.vue page introduces this CSS file
@import './static/css/iconfont-weapp-icon.css';
Copy the code
Page reference
<view class="t-icon t-icon-a-Group20"></view>
Copy the code
The generated iconfont-appellate p-icon.css file is a T-icon