1、安装lib-flexible npm install lib-flexible --save 2、在项目入口文件main.js中引入 import 'lib-flexible' 以上配置,可以解决移动端的适配。默认将屏幕划分为10等分,如果设计稿尺寸为1920px, 则 1rem = (1920 ...
分类:
其他好文 时间:
2021-03-08 13:53:55
阅读次数:
0
配置到淘宝服务器 npm config set registry https://registry.npm.taobao.org 查看 npm 配置信息 npm config list 只要经过了上面命令的配置,则你以后所有的 `npm install` 都会默认通过淘宝的服务器来下载。 ...
分类:
Web程序 时间:
2021-03-08 13:31:32
阅读次数:
0
记录一下配置git操作远程仓库时的自动验证,效果如下图: 本文介绍的是Linux下的配置。Windows上默认已经启用凭证存储和自动验证(依靠wincred实现,以后会使用GCM-Core)。 准备工作 首先需要Linux系统上安装了dbus或者是gnome-keyring(依赖于dbus),如果可 ...
分类:
系统相关 时间:
2021-03-08 13:17:53
阅读次数:
0
SSH部分 操作主机创建密钥 [root@localhost ~]# ssh-keygen [root@localhost ~]# ls .ssh/ id_rsa id_rsa.pub 分发公钥到被监控端 [root@localhost .ssh]# ssh-copy-id -i id_rsa.pu ...
分类:
其他好文 时间:
2021-03-06 15:08:11
阅读次数:
0
1.安装 sudo apt install xscreensaver 2.打开xscreensaver sudo xscreensaver-demo 3.设置 参考:https://zhuanlan.zhihu.com/p/192840118 https://blog.csdn.net/iteye_ ...
分类:
其他好文 时间:
2021-03-06 15:04:02
阅读次数:
0
Step 1 — Installing Apache and Updating the Firewall Adjust the Firewall to Allow Web Traffic sudo apt update sudo apt upgrade sudo apt install apache ...
分类:
系统相关 时间:
2021-03-06 14:52:16
阅读次数:
0
#!/bin/bash #for.sh for i in `cat ./ip.txt`; do ip=`echo $i|awk -F: '{print $1}'` num=`echo $i|awk -F: '{print $2}'` echo $ip sleep 1 echo $num sleep ...
分类:
其他好文 时间:
2021-03-06 14:46:46
阅读次数:
0
拷贝包到自定义文件夹 下载批量导入工具到自定义文件夹https://agent-install.oss-cn-hangzhou.aliyuncs.com/migrate-local-repo-tool.jar 打开本地的Git Bash 切换到工具的位置 批量导入命令说明 仓库地址及用户名密码配置获 ...
分类:
其他好文 时间:
2021-03-06 14:30:51
阅读次数:
0
配置防火墙问题 最近在服务器上部署项目时遇到了用ip访问不了的问题, 在一个纯洁的unbantu环境中 需要先安装防火墙 sudo apt install firewalld 然后启动防火墙 systemctl restart firewalld 我出现了防火墙被锁定的提示 Failed to re ...
分类:
其他好文 时间:
2021-03-06 14:21:48
阅读次数:
0
style标签内使用全局less变量 定义变量 // index.less @color-default: #30b985 npm install style-resources-loader vue-cli-plugin-style-resources-loader -D 使用style-reso ...
分类:
其他好文 时间:
2021-03-06 14:20:44
阅读次数:
0