- 博客(8)
- 收藏
- 关注
原创 Component name “brand“ should always be multi-word
Component name "brand" should always be multi-word
2022-09-16 14:47:41
388
1
原创 网址为http://0.0.0.0:8080/ 的页面可能存在问题,或者已永久移动到新的网址。
解决:在vue.config.js写入:devServer: { host: 'localhost', port: 8080 }
2022-09-16 08:09:39
3489
原创 Refused to apply style from ‘http://localhost:8080/iconfont.css‘ because its MIME type (‘text/html‘)
Refused to apply style from 'http://localhost:8080/iconfont.css' because its MIME type ('text/html')
2022-09-15 15:02:21
329
原创 Component name “home“ should always be multi-word.eslintvue/multi-word-component-names
解决方法:配置 .eslintrc.js文件关闭命名规则找到 .eslintrc.js 文件在 rules 里面加上这么一句
2022-09-14 21:54:58
8648
转载 没有指定本地 master 分支和远程 origin/master 的连接
git push 远程仓库时,出现以下类似错误,'Note about fast-forwards' in 'git push --help' for details.
2022-08-30 21:36:34
875
原创 安装vuex-persistedstate的使用报错
然后就出现了报错!,npm ERR! While resolving: @vue/eslint-config-standard@6.1.0......原因是eslint版本过高 ,使用同级安装命令npm install --legacy-peer-deps就能安装好!
2022-08-30 16:15:57
1231
原创 格式化错误
解决方法:在.eslintrc.js下添加 rules: {...... "space-before-function-paren": 0, quotes: "off", semi: "off", "comma-dangle": "off", },
2022-08-29 19:36:39
79
原创 <template>下有波浪线报错
解决办法,在jsconfig.json文件下将代码添加"jsx": "preserve"复制进去: "compilerOptions": { "jsx": "preserve", //添加"jsx": "preserve",}
2022-08-29 19:32:10
158
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人