1.0.3 • Published 3 years ago

bobi-ui v1.0.3

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

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`
        }
      }
    ],
  ]
}
1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago