摘要: 以下图文讲解 | 英文 | Accept Current Change | Accept Incoming Change | Accept Both Changes | Compare Changes | Start Live Share Session | | | | | | | | | 中文 | 阅读全文
posted @ 2022-07-21 00:15 天使阿丽塔 阅读(299) 评论(0) 推荐(0) 编辑
摘要: Markdown 快捷键 Markdown Shortcuts Visual Studio Code Markdown插件-知乎 姓名 | 描述 | 默认键绑定 | | md-shortcut.showCommandPalette | 显示所有命令 | ctrl+M ctrl+M md-shortc 阅读全文
posted @ 2022-07-16 16:39 天使阿丽塔 阅读(353) 评论(0) 推荐(0) 编辑
摘要: BEM 是一种有些的 CSS 设计模式,在封装组件时具有很好的优势,并且写出来的代码易于维护。BEM 的最大的特点是与现有 MVVM 框架具有良好的结合。让在封装组件的时候,HTML 与 JS 配合 CSS 在执行,CSS占据“主导地位”。如果使用了CSS预处理或者POSTCSS等工具,极大的增加了 阅读全文
posted @ 2022-06-15 11:44 天使阿丽塔 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 第一步是选择type,本次更新的类型 Type 作用 feat 新增特性 (feature) fix 修复 Bug(bug fix) docs 修改文档 (documentation) style 代码格式修改(white-space, formatting, missing semi colons 阅读全文
posted @ 2022-06-14 09:35 天使阿丽塔 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 首先,安装 babel-plugin-component: npm install babel-plugin-component -D 然后,将 babelrc.config.js修改为: module.exports = { presets: ['@vue/cli-plugin-babel/pre 阅读全文
posted @ 2022-06-12 22:45 天使阿丽塔 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 使用pm2管理应用 在服务器中安装:pm2: npm i pm2 -g 启动项目: pm2 start 脚本--name自定义名称 pm2 start app.js --name api 查看运行项目:pm2 ls 重启项目:pm2 restart自定义名称 停止项目:pm2 stop自定义名称 删 阅读全文
posted @ 2022-06-12 11:10 天使阿丽塔 阅读(44) 评论(0) 推荐(0) 编辑
摘要: vue各种各样的命令和语法的格式容易记混 vue指令-v-model修饰符 语法: v-model.修饰符="vue数据变量" .number 以parseFloat转成数字类型 .trim 去除首尾空白字符 .lazy 在失去焦点时触发更改而非inupt时 计算属性 计算属性有缓存,提高渲染性能。 阅读全文
posted @ 2022-06-12 10:22 天使阿丽塔 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 在根目录下创建文件.prettierrc { "arrowParens": "avoid", "bracketSameLine": true, "bracketSpacing": true, "embeddedLanguageFormatting": "auto", "htmlWhitespaceS 阅读全文
posted @ 2022-06-11 11:16 天使阿丽塔 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 封装Axios对象 在src 目录下创建 utils 目录及 utils 下面创建 request.js 文件 进行封装 import axios from 'axios' //1. 创建axios对象 const service = axios.create() //2. 请求拦截器 servic 阅读全文
posted @ 2022-05-22 13:30 天使阿丽塔 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 测试是否安装成功 git --version 克隆线上项目 git clone "地址" 初始化仓库 git init Git全局设置 git config --global user.name "用户名" git config --global user.email "邮箱" Git局部配置 gi 阅读全文
posted @ 2022-05-22 10:53 天使阿丽塔 阅读(18) 评论(0) 推荐(0) 编辑