Component name "Pannel" should always be multi-word vue/multi-word-component-names
在 vue.config.js 中 配置
module.exports = {
lintOnSave: false // 关闭 eslint 的 规则检查
}
Module not found: Error: Can't resolve 'less-loader' in 'C:\Users\huanglujian\Desktop\vue_test\threeday'
Vue 配置的脚手架没有自动解析 less 的功能 , 需要 安装 相应的 包
命令 : yarn add less less-loader -D
Uncaught TypeError: Cannot read properties of undefined (reading ‘install‘)
vue-router 4.x 只能结合 vue3 进行使用,vue-router 3.x 只能结合 vue2 进行使用。
卸载高版本, 重新下载低版本 vue-router
yarn add vue-router@3.1.3
Avoid using Array as root value for reactive() as it cannot be tracked in watch() or watchEffect(). Use ref() instead. This is a Vue-2-only limitation.
使用 vant 的时候报错, 看看是不是 vue2的项目使用的不是相对应的vant版本,如是:卸载下载相应的版本
yarn add vant@latest-v2