2023年8月24日

vue3 配置commitlint 实现上传时,对代码描述的约束

摘要: 1、对于我们的commit信息,也是有统一规范的,不能随便写,要让每个人都按照统一的标准来执行,我们可以利用**commitlint**来实现。 安装包命令: pnpm add @commitlint/config-conventional @commitlint/cli -D 2、添加配置文件,新 阅读全文

posted @ 2023-08-24 15:59 songsonglailou 阅读(131) 评论(0) 推荐(0)

vue3 报错:husky - pre-commit hook exited with code 1 (error)

摘要: 问题:git 提交不上去 解决方法: "format": "prettier --write \"./**/*.{html,vue,ts,js,json,md}\"", 阅读全文

posted @ 2023-08-24 15:03 songsonglailou 阅读(797) 评论(0) 推荐(0)

vscode 报错 :Internal server error: Preprocessor dependency "sass" not found. Did you install it?

摘要: 原因:内部服务器错误:未找到预处理器依赖项“sass”。 你安装了吗? 解决: 其一、安装 sass 依赖命令 命令 :npm install --save-dev sass 阅读全文

posted @ 2023-08-24 13:53 songsonglailou 阅读(1880) 评论(0) 推荐(0)

0824 学习vue3

摘要: node 版本 v16.17.1 1、创建vue项目 命令: 创建vue 项目 1、pnpm create vite 下载依赖 2、pnpm install 运行项目 3、pnpm run dev 4、开启启动项目自动打开浏览器 5、安装代码规范检测插件 5.1 首先安装eslint 命令:pnpm 阅读全文

posted @ 2023-08-24 13:50 songsonglailou 阅读(54) 评论(0) 推荐(0)

导航