上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 44 下一页
摘要: 可视化软件 Git Graph git branch --set-upstream 本地关联远程分支 git branch --set-upstream-to=origin/remote_branch your_branch 参考链接 https://www.cnblogs.com/zhou-cha 阅读全文
posted @ 2021-11-01 09:36 胸怀丶若谷 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 安装命令 npm install -g cnpm --registry=https://registry.npm.taobao.org 使用命令 cnpm install [name] 参考连接 https://zhuanlan.zhihu.com/p/120159632 阅读全文
posted @ 2021-10-29 21:34 胸怀丶若谷 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 报错截图 解决方案 在结尾添加叹号 // 获取页面中food的元素并将其赋值给element this.element = document.getElementById('food')!; 阅读全文
posted @ 2021-10-29 14:42 胸怀丶若谷 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 错误原因,我猜测多半是版本问题 在router/index.js中添加如下代码 const originalPush = VueRouter.prototype.push VueRouter.prototype.push = function push(location) { return orig 阅读全文
posted @ 2021-10-26 20:12 胸怀丶若谷 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 创建vue文件模板 打开vscode,文件–>首选项—>用户代码片段,在弹出的搜索框中输入vue,回车 删除原内容,将如下内容粘贴 { "Print to console": { "prefix": "vue", "body": [ "<!-- $1 -->", "<template>", "<di 阅读全文
posted @ 2021-10-26 19:42 胸怀丶若谷 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 使用如下代码: background-color="#00000000" 阅读全文
posted @ 2021-10-26 18:48 胸怀丶若谷 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 在tsconfg.json文件中添加如下选项 "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */ 阅读全文
posted @ 2021-10-26 16:25 胸怀丶若谷 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 获取页面宽度和高度 let screenWidth = document.body.clientWidth; let screenHeight = document.documentElement.clientHeight; 阅读全文
posted @ 2021-10-25 18:49 胸怀丶若谷 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 初始化 git init 查看配置信息 查看用户名 :git config user.name 查看密码: git config user.password 查看邮箱:git config user.email 查看配置信息: $ git config --list 修改配置信息 修改用户名 git 阅读全文
posted @ 2021-10-22 08:40 胸怀丶若谷 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 切换到淘宝源 npm config set registry https://registry.npm.taobao.org 切换回官方源 npm config set registry http://www.npmjs.org 阅读全文
posted @ 2021-10-20 10:13 胸怀丶若谷 阅读(93) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 44 下一页