我是靠谱客的博主 细腻月光,最近开发中收集的这篇文章主要介绍vue连线 插件_vue常用插件及安装,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

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常用插件及安装所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(41)

评论列表共有 0 条评论

立即
投稿
返回
顶部