weui.wxss的使用
仅仅是学习记录
1、在小程序根目录内,初始化npm
npm init
2、安装npm包
npm install --save weui-miniprogram
3、工具-构建npm
4、app.wxss内引入样式
@import ‘/miniprogram_npm/weui-miniprogram/weui-wxss/dist/style/weui.wxss’;
5、加入配置字段
“usingComponents”: {
“mp-dialog”: “/miniprogram_npm/weui-miniprogram/dialog/dialog”,
}