bobi-ui

1.0.3 • Public • Published

vue project

install dependencies

yarn install or npm install or cnpm install

serve with hot reload at localhost:8080

npm run dev

build for production

npm run build

按需组件引用 在根目录下.babelrc.js文件中按如下配置

module.exports = {
  "presets": ["@vue/app"],
  "plugins": [
    [
      "import",
      {
        "libraryName": "bobi-ui",//组件库名称
        "camel2DashComponentName": false,//关闭驼峰自动转链式
        "camel2UnderlineComponentName": false,//关闭蛇形自动转链式
        "style": (name) =>{
          const cssName = name.split('/')[2];
          return `bobi-ui/lib/style/${cssName}.css`
        }
      }
    ],
  ]
}

/bobi-ui/

    Package Sidebar

    Install

    npm i bobi-ui

    Weekly Downloads

    1

    Version

    1.0.3

    License

    none

    Unpacked Size

    1.74 MB

    Total Files

    26

    Last publish

    Collaborators

    • kevinmin07