1.0.0 • Published 3 years ago

ft-vcharts v1.0.0

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

使用说明

vchart组件的使用

1、本地目录放入 vchart.js 文件

2、在main.js 中设置,
未安装vuex的需安装vuex,并设置 store  

import vChart from  "@/common/vchart.js"
Vue.use(vChart, store)

3、在具体展示页面中引用VChart组件
<v-chart slug="xxx" appCode="xxx"></v-chart>



# serve with hot reload at localhost:8080
#本地测试运行时
npm run dev

# build for production with minification
#打包为组件时,请先修改webpack.config:entry为index.js
npm run build

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

1.0.0

3 years ago