vuecli引入echarts"/>
vuecli引入echarts
1.使用命令下载echerts
npm install echarts
2.在mian.js全局引入
import echarts from 'echarts'
Vue.use(echarts)
Vue.prototype.$echarts = echarts;
3.目标页面中使用
更多推荐
vuecli引入echarts
vuecli引入echarts"/>
1.使用命令下载echerts
npm install echarts
2.在mian.js全局引入
import echarts from 'echarts'
Vue.use(echarts)
Vue.prototype.$echarts = echarts;
3.目标页面中使用
更多推荐
vuecli引入echarts
发布评论