0.1.2 • Published 2 years ago

ease-echarts v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ease-echarts

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Run your unit tests

yarn test:unit

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

组件库说明

组件库文档使用

vuepress 官网

yarn docs:dev

yarn docs:build

npm发布

  • yarn lib 用于发布npm包
  • private设置false
  • package.json设置主入口:"main": "lib/ease-echarts.umd.min.js",(运行publish打包时会生成)
  • npm查询组件库名是否已被使用
  • 发布前需要检查发布版本

组件引入

// 入口文件引入
import EaseEcharts from 'ease-echarts'

Vue.use(EaseEcharts)

创建新组件

// 输入新增的组件名称,如ButtonGroup,注册组件名称为:EaseButtonGroup
// 使用命令前需要去除package.json中的"type": "module",
yarn new:comp
0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago