Vue
Vue 相关知识
Arvin.Wang
这个作者很懒,什么都没留下…
展开
-
Vue Syntax Error: Error: Node Sass version 7.0.1 is incompatible with ^4.0.0.
1 错误描述启用 Vue 项目时报错:Syntax Error: Error: Node Sass version 7.0.1 is incompatible with ^4.0.0.2 问题处理上面的错误是表示安装的 Sass 版本过高,需要安装 4.x.x 版本的 Sass。NodeJs 和 Sass 版本对照表:NodeJS Supported node-sass version Node Module Node 17 7.0+ 102 ..原创 2022-04-07 00:10:03 · 2877 阅读 · 0 评论 -
vue 设置 confirm 的样式
一、定义样式<style>.confirm-p { word-break: break-all;}</style>定义的样式不能放在 scoped 的 style 中二、使用样式this.$confirm('您确定要删除 ' + row.name + ' 吗?删除后将无法恢复,请谨慎操作。', '提示', { confirmButtonText: this.$t('common.confirm'), cancelButtonText: t原创 2022-02-19 09:28:50 · 4397 阅读 · 0 评论 -
vue 项目使用 echarts
Echarts 官网:Apache ECharts安装依赖npm安装npm install echarts -S或者用淘宝镜像安装npm install -g cnpm --registry=https://registry.npm.taobao.orgcnpm install echarts -S全局引入在 main.js 中引入import * as echarts from 'echarts';Vue.prototype.$echarts = ec原创 2022-02-12 11:37:08 · 155 阅读 · 0 评论