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
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
拷贝包到自定义文件夹 下载批量导入工具到自定义文件夹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
GitLab官方搭建教程地址: https://about.gitlab.com/install/#ubuntu 1. 依赖包安装 sudo apt-get update sudo apt-get install -y curl openssh-server ca-certificates ...
分类:
其他好文 时间:
2021-03-05 13:25:21
阅读次数:
0
一,安装PyQt5和PyQt5-tools 打开Windows命令提示符 安装PyQt5,输入:pip install PyQt5 或 pip install PyQt5 -i https://pypi.douban.com/simple 安装PyQt5-tools,输入:pip install P ...
分类:
其他好文 时间:
2021-03-05 13:24:40
阅读次数:
0
第一步:卸载老版本 $ sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engi ...
分类:
其他好文 时间:
2021-03-05 13:18:40
阅读次数:
0