/buUI

Primary LanguageSCSS

Vue 组件库

储备知识

  • Vue 脚手架的基本使用
  • Vue 创建组件
  • props 校验和$emit(常用)
  • $attrs和$listeners
  • **事件总线(非父子组件间通信)
  • v-model
  • provide和inject
  • $parent和$children
  • vuex

工具

  • Rollup | Parcel

nrm

掌握 nrm 基本用法

https://www.npmjs.com/package/nrm

npm

掌握 npm 基本用法

https://www.npmjs.com/package/npm

.gitignore

熟悉 .gitigore 的配置

https://git-scm.com/docs/gitignore

.npmignore

熟悉 .npmignore 的配置

https://docs.npmjs.com/using-npm/developers.html


bu

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Storybook (added on 2020-09-09)

  • packages\xxx\src开发你的组件(xxx)是你的组件名
  • packages\xxx\stories写入你的 xxxx.stories.js
  • 运行 npm run storybook 查看story
  • 字体和图标目前不能显示, working on it 🙃 (Fixed ✅)