上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: 注意:npm 安装 npm版本需要在7.0以上 第一步:安装依赖: yarn add @commitlint/config-conventional@12.1.4 @commitlint/cli@12.1.4 -S 第二步:创建commitlint.config.js,可以命令行执行以下代码,或者手 阅读全文
posted @ 2021-12-11 23:18 Mr_R 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 第一步:全局安装commitizen yarn global add commitizen@4.2.4 第二部:安装cz-customizable@6.3.0 yarn add cz-customizable@6.3.0 -S 第三部:配置package.json,插入代码: "config": { 阅读全文
posted @ 2021-12-11 22:37 Mr_R 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 初始化 在本地需要关联到远程仓库的项目根目录下执行 git init 然后关联远程仓库 [project]。你需要存在一个远程仓库,名字随意,然后执行下面的命令(去掉中括号)就可以关联到该仓库。 git remote add origin git@gitee.com:idiv/[project].g 阅读全文
posted @ 2021-12-08 14:41 Mr_R 阅读(779) 评论(0) 推荐(0) 编辑
摘要: 第一步: node官网安装node http://nodejs.cn/download/ 第二步:全局安装vue脚手架工具 npm install @vue/cli -g #or cnpm install @vue/cli -g #or yarn global add @vue.cli // 版本查 阅读全文
posted @ 2021-09-03 11:03 Mr_R 阅读(152) 评论(0) 推荐(0) 编辑
摘要: hash模式 let Vue; export default class VueRouter { constructor(options) { this.$options = options; this.routerMap = {}; this.initRouterMap(); // 定义一个响应式 阅读全文
posted @ 2021-09-01 17:17 Mr_R 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Function.prototype.bind1 = function () { // const args = Array.from(arguments); const args = Array.prototype.slice.call(arguments); const target = arg 阅读全文
posted @ 2021-07-28 21:55 Mr_R 阅读(65) 评论(0) 推荐(0) 编辑
摘要: template: <div id="calendar_content" class="calendar_content" @touchstart="handleStart" @touchmove="handleMove" @touchend="handleEnd"> <div id="calend 阅读全文
posted @ 2021-04-06 11:43 Mr_R 阅读(1305) 评论(0) 推荐(0) 编辑
摘要: function packageArr () { let allDays = getMonthDay(); // 查询有几周 let weeks = allDays.length / 7 > 4 ? 5 : 4; // 查询每周一的下标 let indexArr = []; allDays.map( 阅读全文
posted @ 2021-03-10 15:26 Mr_R 阅读(83) 评论(0) 推荐(0) 编辑
摘要: https://gekorm.com/dart-windows/ 阅读全文
posted @ 2021-01-09 12:26 Mr_R 阅读(538) 评论(0) 推荐(1) 编辑
摘要: axios({ url: '/custom/export', responseType: 'blob', method: 'post',}).then( res => { let blob = new Blob([res.data], { type: 'application/vnd.ms-exce 阅读全文
posted @ 2020-12-29 17:04 Mr_R 阅读(504) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 14 下一页