上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 67 下一页
摘要: 一、需要指定开发模式还是生产模式,需要改动两个地方: 1、package.json 中加入 --mode development 2、webpack.config.js 中 加入 mode: 'development' 二、关于vue,需要重新下载 vue-template-compiler 阅读全文
posted @ 2018-12-11 17:45 贝尔塔猫 阅读(201) 评论(0) 推荐(0)
摘要: 背景:以前 test.user.js 的插件方式被 Chrome 封杀了。现在只能依赖油猴来编写自己的 js 插件。 官方网站:https://tampermonkey.net/ chrome商店: https://chrome.google.com/webstore/detail/tampermo 阅读全文
posted @ 2018-12-10 11:31 贝尔塔猫 阅读(1111) 评论(0) 推荐(0)
摘要: 一、chrome 插件的导出 1、打开 chrome://extensions/ 2、打开开发者模式 3、复制插件的ID 4、搜索 通常是在:C:\Users\Lee\AppData\Local\Google\Chrome\User Data\Default\Extensions 二、chrome 阅读全文
posted @ 2018-12-06 14:13 贝尔塔猫 阅读(2061) 评论(0) 推荐(0)
摘要: 传送门:https://www.jianshu.com/p/72a4214764e4 https://www.webpagefx.com/tools/emoji-cheat-sheet/ 阅读全文
posted @ 2018-12-05 17:10 贝尔塔猫 阅读(981) 评论(0) 推荐(0)
摘要: 传送门:https://vue-loader-v14.vuejs.org/zh-cn/features/scoped-css.html 后记 /deep/ 改为 ::v-deep 你很可能会遇到的问题 vue组件编译后,会将 template 中的每个元素加入 [data-v-xxxx] 属性来确保 阅读全文
posted @ 2018-11-23 10:41 贝尔塔猫 阅读(87749) 评论(6) 推荐(6)
摘要: 三角函数 canvas 和 JavaScript 中所有与角相关的API如Math.sin()、Math.cos()、Math.tan(),都需要以弧度为单位值。但大部分人还是习惯以角度单位。所以我们必须知道弧度和角度是如何互换的。 1)180 度 = π 弧度 2)1 弧度 = (π / 180) 阅读全文
posted @ 2018-11-22 14:22 贝尔塔猫 阅读(623) 评论(0) 推荐(0)
摘要: 二维向量都包含两个值:方向(direction)及大小(magnitude) 这两个值可以表达出各种各样的物理特性来,比如力和运动。如两个物体间的碰撞检测。 向量的大小 虽说二维向量是对大小和方向这两个数值进行建模。不过通常情况下,根据某个给定向量的 x 与 y 值来计算其中一个。也是很有用的。 毕 阅读全文
posted @ 2018-11-22 14:21 贝尔塔猫 阅读(2265) 评论(0) 推荐(0)
摘要: 安装依赖 main.js const fs = require('node-fs-extra') const globby = require('globby') const request = require('request') // 简单的GET请求获取翻译结果 const _request 阅读全文
posted @ 2018-11-21 14:58 贝尔塔猫 阅读(1205) 评论(0) 推荐(0)
摘要: https://github.com/sindresorhus/globby https://github.com/dylansmith/node-exif-renamer https://github.com/jhotmann/node-rename-cli https://github.com/ 阅读全文
posted @ 2018-11-20 20:03 贝尔塔猫 阅读(357) 评论(0) 推荐(0)
摘要: jquery.spritely: https://github.com/johnantoni/jquery.spritely /* * jQuery spritely 0.6.7 * http://spritely.net/ * * Documentation: * http://spritely. 阅读全文
posted @ 2018-11-20 19:23 贝尔塔猫 阅读(300) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 67 下一页