打赏
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 88 下一页
摘要: 对需要使用compile或者在vue构造函数中使用template 选项时,需要引入构建版本(完整版)的vue.js。 需要在vue.config.js中进行配置,有如下2种方法: const path = require('path'); function resolve (dir) { retu 阅读全文
posted @ 2020-04-05 17:18 孟繁贵 阅读(929) 评论(0) 推荐(0)
摘要: 工具: https://mdnice.com/ 阅读全文
posted @ 2020-04-05 16:45 孟繁贵 阅读(1779) 评论(0) 推荐(0)
摘要: 1、data mixins中的data会合并到data中,有冲突的话,data中数据覆盖mixins中的数据。 2、钩子函数 mixins中的钩子函数也会执行,先执行mixins中的钩子函数。 3、methods、components 和 directives methods、components  阅读全文
posted @ 2020-04-05 16:33 孟繁贵 阅读(1552) 评论(0) 推荐(0)
摘要: 一、引言 代码规范提交可以很好的保存代码修改日志,规范提交日志对于定位问题或代码回退具有极大意义。 二、使用插件列表 commitizen cz-conventional-changelog conventional-changelog-cli 1. commitizen 规范代码的提交 1.1 n 阅读全文
posted @ 2020-04-04 22:43 孟繁贵 阅读(9227) 评论(0) 推荐(0)
摘要: www.remove.bg/zh 阅读全文
posted @ 2020-04-04 20:29 孟繁贵 阅读(646) 评论(0) 推荐(0)
摘要: $dispatch和$broadcast源代码: function broadcast (componentName, eventName, params) { this.$children.forEach(child => { const name = child.$options.name // 阅读全文
posted @ 2020-04-03 21:48 孟繁贵 阅读(375) 评论(0) 推荐(0)
摘要: 网址: https://github.com/any86/any-rule 阅读全文
posted @ 2020-04-03 20:22 孟繁贵 阅读(142) 评论(0) 推荐(0)
摘要: 1、网址 https://crowdin.com/ 2、特点 逐句翻译 翻译推荐 进度管理 审核机制 阅读全文
posted @ 2020-04-02 14:10 孟繁贵 阅读(492) 评论(0) 推荐(0)
摘要: 1、网址 https://docsify.js.org 2、特点 多语言 git pages 全文检索 插件扩展 3、部署 nginx方式: server { listen 80; server_name your.domain.com; location / { alias /path/to/di 阅读全文
posted @ 2020-04-02 14:03 孟繁贵 阅读(244) 评论(0) 推荐(0)
摘要: 1、官网说明 https://cli.vuejs.org/zh/guide/build-targets.html#%E5%BA%93 2、输出文件 dist/myLib.common.js:一个给打包器用的 CommonJS 包 (不幸的是,webpack 目前还并没有支持 ES modules 输 阅读全文
posted @ 2020-04-02 11:16 孟繁贵 阅读(477) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 88 下一页
TOP