- 博客(10)
- 收藏
- 关注
原创 this command with --force, or --legacy-peer-deps
执行 npm install --legacy-peer-deps
2022-08-17 17:24:35
3537
1
原创 Module not found: Error: [CaseSensitivePathsPlugin]
这是个很细节的问题,检查一下路由或者路由路径
2022-08-15 15:12:47
5767
4
原创 Invalid options in vue.config.js: “plugins“ is not allowed
安装element-plus ,自动按需引入,报错。
2022-08-12 08:47:27
322
原创 Duplicate keys detected: ‘1‘. This may cause an update error.
情况:一个页面多次循环遍历,报错。。解决:每个循环对应的 key 只能是唯一的:key = " item.id + 'tag' "
2021-11-30 11:43:35
142
原创 Failed to resolve component: router-view
情况:基于 vue3 + vite + vue-Router4.0 创建使用路由 <router-view /> 报错解决:在 mainjs 中调用router。。。
2021-11-17 10:58:32
400
原创 Instead, use a data or computed property based on the prop‘s value.
情况:vue 父组件改变子组件的值,并传回给子组件。报错。props 只是单向传递。解决:使用 this.$emit
2021-11-12 17:44:42
1029
原创 Uncaught TypeError: Cannot read property ‘toLowerCase‘ of undefined
情况:在封装vue组件时,报错。。解决:组件中一定要有 `name`
2021-11-12 15:14:34
750
原创 hexo-theme-ayer
Ayer 在马来语中是“水”的意思,在西班牙语中是“昨天”的意思。安装方法一:如果是新安装本主题,安装完成后会在根目录生成 _config.ayer.yml 文件,直接修改_config.ayer.yml 文件。如果是主题升级,建议先把配置内容做备份,然后用 npm uninstall hexo-theme-ayer -S 先卸载主题,再执行下面命令重新安装。npm i hexo-theme-ayer -S修改主题内容:根目录_config.ayer.yml方法二:hex.
2021-10-28 10:48:03
200
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人