摘要: 错误原因,我猜测多半是版本问题 在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) 编辑