2023年9月7日
摘要: 如果有安装了就 先卸载npm sudo npm uninstall npm -g 2.卸载node yum remove nodejs npm -y 3. 安装node 下载: wget https://cdn.npm.taobao.org/dist/node/v12.13.1/node-v12.1 阅读全文
posted @ 2023-09-07 11:22 Jun_ct 阅读(454) 评论(0) 推荐(0) 编辑
  2022年9月19日
摘要: 下载插件 Prettier 根据网上参考的大多配置,基本没用! 最长说的就是在prettier里面设置Prettier Path的值。如果你直接在vscode里面编辑设置的话 无论是json写进去,还是设置里面填写进去,都没用! 我不确定这是不是bug 最终解决方案直接在项目根目录创建 .prett 阅读全文
posted @ 2022-09-19 14:57 Jun_ct 阅读(1034) 评论(0) 推荐(0) 编辑
  2022年8月29日
摘要: 新增 prettier 插件 格式化插件 好用 用处在另外的文档 阅读全文
posted @ 2022-08-29 10:25 Jun_ct 阅读(3) 评论(0) 推荐(0) 编辑
  2022年8月12日
摘要: https://jingyan.baidu.com/article/acf728fd86c144f8e510a391.html 阅读全文
posted @ 2022-08-12 13:59 Jun_ct 阅读(141) 评论(0) 推荐(0) 编辑
  2022年5月19日
摘要: 产生原因: 根本原因 有scope 标签 打包后,每次 source 不同,scope 加的[data-v-xxxxxxx] 不一样 ,所以快照 混乱 根本解决:最开始开发的时候就 不加 style标签不加 scope 补救,如果都弄了: 找到 node_module > vue-loader > 阅读全文
posted @ 2022-05-19 18:29 Jun_ct 阅读(408) 评论(0) 推荐(0) 编辑
  2022年5月13日
摘要: 2022.5.13 所使用的 阅读全文
posted @ 2022-05-13 15:12 Jun_ct 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 1.vscode 安装 vetur 插件 2.文件->首选项->设置搜索–vetur->format->default formatter:html 设置为:js-beautify-html 3.将以下代码放到settings.json中 ``` {"vetur.format.defaultForm 阅读全文
posted @ 2022-05-13 15:11 Jun_ct 阅读(600) 评论(0) 推荐(0) 编辑
  2022年5月12日
摘要: 好像是stylus的问题,说node版本太高,要降低版本,于是我继续查找资料,在Github上找到了这个答案 node_modules\stylus\lib\nodes\index.js在index.js文件中加上以下代码,成功解决~ **** 必须加在 js 最前面 , 后面没效果 不知道为什么 阅读全文
posted @ 2022-05-12 09:53 Jun_ct 阅读(244) 评论(0) 推荐(0) 编辑
  2017年3月15日
摘要: 在html中经常会用到input这个元素,以便于与用户进行一些输入: Keyword Data type hidden 任意字符 text 单行文本 search 单行文本 tel 单行文本 url 绝对地址 email 一个或多个email地址 password 单行文本 datetime 带有时 阅读全文
posted @ 2017-03-15 20:05 Jun_ct 阅读(186) 评论(0) 推荐(0) 编辑