会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
快乐的正能量
博客园
首页
新随笔
联系
管理
订阅
2022年6月1日
vue-element-admin npm install --registry=https://registry.npm.taobao.org ERR code128 问题
摘要: F:\vue-element-admin>npm install --registry=https://registry.npm.taobao.org npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command
阅读全文
posted @ 2022-06-01 17:28 快乐的正能量
阅读(610)
评论(0)
推荐(1)
2022年4月25日
request.js?b775
摘要: 前端request.js?b775 没有加载最新的 request.js的代码 去掉了request.js中的debugger npm run dev 之后从新打开浏览器 还是会加载之前的request.js文件 不知道为什么记录下
阅读全文
posted @ 2022-04-25 09:51 快乐的正能量
阅读(145)
评论(0)
推荐(0)
2021年5月14日
组件上调用方法要用原生@click.naive()
摘要: @click.native="telAlert(user.tel)"
阅读全文
posted @ 2021-05-14 13:43 快乐的正能量
阅读(81)
评论(0)
推荐(0)
2021年5月3日
Vue问题:error Strings must use singlequote
摘要: 严格检索 项目根目录添加 .prettierrc {"semi":false "singleQuote":true } 'space-before-function-paren':0
阅读全文
posted @ 2021-05-03 16:00 快乐的正能量
阅读(1476)
评论(0)
推荐(0)
npm ERR! Missing script: "dev"
摘要: npm ERR! missing script: dev 解决方案(一)运行命令npm run dev 出现 npm ERR! missing script: dev 的错误这是因为vue 版本问题,使用 npm run serve 来运行项目
阅读全文
posted @ 2021-05-03 13:09 快乐的正能量
阅读(1568)
评论(0)
推荐(0)
win10如何在右击中添加在此处打开命令窗口
摘要: web前端开发经常要在项目目录下启动cmd,window+R启动,定位到项目目录非常麻烦,就想能不能有个快捷方式,查了下果然有,不废话,直接上方法 1 Windows Registry Editor Version 5.00 2 3 [HKEY_CLASSES_ROOT\Directory\shel
阅读全文
posted @ 2021-05-03 11:57 快乐的正能量
阅读(121)
评论(0)
推荐(0)
2020年12月17日
Vuex的基本使用
摘要: 1、安装vuex依赖包 npm install vuex --save 2、导入vuex包 import vuex from 'vuex' 3、创建store对象 const store = new Vuex.store({ //state中存放的就是全局共享的数据 state:{count : 0
阅读全文
posted @ 2020-12-17 20:44 快乐的正能量
阅读(79)
评论(0)
推荐(0)
运行新项目时先在项目目录下运行下面代码,安装依赖node_modules
摘要: npm install -g @vue/cli-service-global 运行项目 npm run serve
阅读全文
posted @ 2020-12-17 16:32 快乐的正能量
阅读(612)
评论(0)
推荐(0)
2020年12月16日
前端代码编辑时要注意大小写
摘要: 调试前端代码F12,切换到source栏
阅读全文
posted @ 2020-12-16 16:40 快乐的正能量
阅读(183)
评论(0)
推荐(0)
2020年11月26日
前端项目中去掉替换双引号
摘要: 项目根目录下添加 .prettierrc内容为{"sime:false","singleQuote":true}
阅读全文
posted @ 2020-11-26 10:35 快乐的正能量
阅读(708)
评论(0)
推荐(0)
下一页
公告