2.0.0 • Published 5 years ago

scyecharts v2.0.0

Weekly downloads
15
License
MIT
Repository
-
Last release
5 years ago

ma-project

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.

scyEcharts组件的调用

#下载echarts,scyEcharts
npm i echarts -S
npm i scyEcharts -S

#全局引入echarts,scyEcharts,找到main.js文件
import * as echarts from 'echarts';
import scyEcharts from 'scyEcharts';

Vue.prototype.$echarts = echarts; // 引入echarts
Vue.user(scyEcharts)

#scyEcharts的使用, options接收echarts的option参数,配置参考echarts官网
<scy-echarts width="100%" height="100px" :options="option"></scy-echarts>
2.0.0

5 years ago

1.1.5

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago