一、cmd命令:vue create demo
二、项目命令窗口:npm install echarts –save
三:main.js 全局引入形式
import * as echarts from "echarts" Vue.prototype.$echarts = echarts
四:index.vue页面使用
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/199756.html原文链接:https://javaforall.net
