0.0.4 • Published 6 years ago
vut-ui v0.0.4
开发步骤
开发环境
- gulp watching
打包
- npm run build:components
- gulp build
npm run build:style-entry
引入
安装 babel-plugin-import 插件
- npm i babel-plugin-import -D
- 在 .babelrc 或 babel-loader 中添加插件配置
{ "plugins": [ ["import", { "libraryName": "vut", "style": true }] ] }
- 引入, 自动按需引入
import { Button } from 'vant'