概述
1.npm install echarts -S echarts (前端图表)
使用:
import Echarts from 'echarts'
Vue.prototype.echarts = Echarts
Vue.use(Echarts)
2.npm install highcharts -S highcharts (前端图表)
使用:
import HighCharts from 'highcharts'
Vue.prototype.Highcharts = HighCharts
Vue.use(HighCharts)
3.npm install element-ui -S element-ui (前端框架)
使用:import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
npm install iview -S iview (Vuejs的前端框架)
使用:
import Iview from 'iview'
import 'iview/dist/styles/iview.css'
Vue.use(Iview)
4.npm install moment -S moment (时间转化工具)
使用:
import moment from "moment"
Vue.prototype.$moment = moment;
5.npm install
最后
以上就是细腻月光为你收集整理的vue连线 插件_vue常用插件及安装的全部内容,希望文章能够帮你解决vue连线 插件_vue常用插件及安装所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复