Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

vut-ui

tencx14ISC0.0.4

vuw 移动端框架

readme

开发步骤

  • 开发环境

    • 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'