摘要:
1、 <img :src="require(`@/assets/img/${myPath}.svg`)"/> 2、 computed: { src() { return require(`@/assets/img/${this.myPath}.svg`); } } 3、 import Path fr 阅读全文
摘要:
> 原创 # dns预解析dns-prefetch # chrome 中的一些指令`chrome://histograms/DNS.PrefetchQueue` 查看队列状态`chrome://histograms/DNS` 查看从浏览器启动到上一页的DNS记录`chrome://dns` 查看各个 阅读全文
摘要:
code is already running in vscode 阅读全文
摘要:
开启 gzip on 启用gzip压缩的最小文件,小于设置值的文件将不会压缩 gzip_min_length 1k gzip 压缩级别,1-10,数字越大压缩的越好,也越占用cup时间 gzip_comp_level 2 进行压缩的文件类型。js有多种形式。其中的值可以值mime.types文件中找 阅读全文
摘要:
ubuntu 无 root 权限情况下安装配置 nginx | nginx 可反向代理 https 的安装方式。
用nginx代理https时报错 https protocol requires ssl support in……这是由于在编译 nginx的二进制文件时需要配置它的 ssl 模块。 阅读全文
摘要:
1、新建文件夹 2、 npm init package.json: { "name": "clock", "version": "1.0.0", "description": "clock", "main": "main.js", "scripts": { "start": "electron ." 阅读全文
摘要:
git config --global http.sslverify truegit config --global http.postBuffer 524288000 阅读全文
摘要:
摘自: https://www.cnblogs.com/yanqiu/p/8987126.html HTML标签 html标签定义: 是由一对尖括号包裹的单词构成,例如: <html>. 标签不区分大小写<html> 和 <HTML>, 推荐使用小写. 标签分为两部分: 开始标签<html> 和 结 阅读全文
摘要:
"my_production": "git+https://username:password@git.xxx.com/xxx/my_production.git#v1.0.1" 阅读全文
摘要:
尝试在你的代码里加上分号!!! 阅读全文