自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 在vue3项目下安装node-sass出现错误

今晚在vue3项目下安装node-sass出现如下错误npm ERR! ERESOLVE unable to resolve dependency treenpm ERR! code ERESOLVEnpm ERR! ERESOLVE unable to resolve dependency treenpm ERR!npm ERR! While resolving: [email protected] ERR! Found: [email protected] ERR! node

2021-12-03 21:21:17 885

原创 vue3报错:‘defineProps‘ is not defined,‘defineExpose‘ is not defined

今晚在使用Vue3开发的时候报了以下错误:‘defineExpose’ is not defined‘defineProps’ is not defined‘defineEmits’ is not defined no-undef‘withDefaults’ is not defined no-undef百度了一下发现有人说在eslint的规则里加 rules: { "no-undef": "off" },但这个规则把所有未定义的变量的错误都屏蔽了,不是最优的解决方案,最后

2021-11-30 23:01:04 16204 9

原创 vite打包的时候,发生了这个错误:‘Form‘ only refers to a type, but is being used as a value here.

今晚使用vite打包的时候,发生了这个错误:‘Form’ only refers to a type, but is being used as a value here.后来研究许久,发现是vue-tsc版本的问题,将vue-tsc版本升级到最新版本就可以正常打包了。yarn add vue-tsc@next...

2021-11-29 22:53:03 1123

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除