创建窗体自适应Echarts图表(基于Vue2.0)
目录1 安装echarts2 查看版本3 导入包文件4 在Vue组件中使用1 安装echartsnpm install echarts2 查看版本在package.json里面可以查看版本3 导入包文件在main.js文件中添加下面代码import * as echarts from "echarts"Vue.prototype.$echarts = echarts4 在Vue组件中使用<template> <div class="hello"
原创
2021-08-01 22:30:03 ·
128 阅读 ·
0 评论