09 2020 档案

摘要:使用npm install -g n报错 如果出现npm ERR! notsup Unsupported platform for n@6.7.0: wanted {"os":"!win32","arch":"any"} (current: {"os":"win32","arch":"x64"}) 阅读全文
posted @ 2020-09-21 09:46 何以平天下 阅读(10028) 评论(0) 推荐(1) 编辑
摘要:原因是a标签button以及element-ui的组件不能直接放在<template>下,需要先有一个div,其他标签要放在div下 阅读全文
posted @ 2020-09-18 15:52 何以平天下 阅读(1363) 评论(0) 推荐(0) 编辑
摘要:这是因为没有安装ES 标准 使用 npm install babel-preset-es2015 -d 安装之后就好了 阅读全文
posted @ 2020-09-18 15:01 何以平天下 阅读(828) 评论(0) 推荐(0) 编辑
摘要:<span id="time"></span><span id="second"></span> <input placeholder="搜索单位名称" /><button type="button">搜索</button> 直接写在一行就没有空格。 产生间隙原因: 换行或空格会占据一定的位置 阅读全文
posted @ 2020-09-18 13:51 何以平天下 阅读(937) 评论(0) 推荐(0) 编辑
摘要:VsCode中代码折叠快捷键 ctrl+K ctrl+[ 折叠本级以及包含的多有节点 ctrl+K ctrl+] 取消折叠本级以及包含的多有节点 ctrl+K ctrl+L折叠本级 ctrl+K ctrl+0 折叠全部 ctrl+K ctrl+J 取消折叠全部 格式化文档 shirt+alt+F 注 阅读全文
posted @ 2020-09-17 11:17 何以平天下 阅读(4672) 评论(0) 推荐(1) 编辑
摘要:npm cache clean -force //强制清除缓,比如安装echarts失败后,清除,在安装 阅读全文
posted @ 2020-09-10 17:08 何以平天下 阅读(254) 评论(0) 推荐(0) 编辑
摘要:默认情况下vue项目打包后,本地打开index.html是空白的,有报错。Failed to load resource: net::ERR_FILE_NOT_FOUND 这时需要修改config->index.js 这时再打包,页面能看到了,但是好多引用的文件路径不对。 然后再修改build->u 阅读全文
posted @ 2020-09-10 13:44 何以平天下 阅读(8430) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示