摘要: 1. post-css-to-viewport: 移动端适配方案, 将px转换成视口单位vw 2. rem 适配 const deviceWidth = document.documentElement.clientWidth || document.body.clientWidth; docume 阅读全文
posted @ 2021-03-04 22:04 IT—小子 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 开发工具 原型图 Axure、Ps、墨刀、蓝湖 思维导图 Xmind、MindNode(Mac)、MindManager 流程图 Visio(Win) 、OmniGraffle(Mac)、processOn 开发环境 本地环境 Node.js、IDE、Vue-Cli - node.js (npm / 阅读全文
posted @ 2020-12-14 11:37 IT—小子 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 安装 nginx 拉取镜像: docker pull nginx:latest 运行容器: docker run --name nginx-test -p 8080:80 -d nginx http://ip:port 访问 阅读全文
posted @ 2020-12-08 12:48 IT—小子 阅读(47) 评论(0) 推荐(0) 编辑
摘要: docker 安装 卸载旧版本 yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate 阅读全文
posted @ 2020-12-08 09:28 IT—小子 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 1. 安装完成后进入 命令行窗口 su + root 进入root 模式 2. 安装图形化界面 2.1 判断yum是否可用 yum + list 如果不可以 修改: vi /etc/sysconfig/network-scripts/ifcfg-ens33 最后一行 数据 ONBOOT = yes 阅读全文
posted @ 2020-05-26 11:56 IT—小子 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 1. 列表 样式切换 <template> <div class="homeContainer"> <ul class="headList"> <li class="item" v-for="item in navList" :key="item.id" :class="{'active': cur 阅读全文
posted @ 2020-05-23 23:09 IT—小子 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 1 . marked : Markdown解析器和编译器。可以非常方便的在线编译Markdown代码为HTML并直接显示,并且支持完全的自定义各种格式 阅读全文
posted @ 2020-05-23 16:43 IT—小子 阅读(84) 评论(0) 推荐(0) 编辑
摘要: js知识点记录 function Fun () {} Fun.prototype = { __fun1 () { this.__fun2()[funStr]() // 传入 funStr ==> 'test1' || 'test2' 来调用方法 }, __fun2 () { return { tes 阅读全文
posted @ 2020-03-31 12:23 IT—小子 阅读(74) 评论(0) 推荐(0) 编辑
摘要: const path = require('path') //进度条 const ProgressBarPlugin = require('progress-bar-webpack-plugin'); const chalk = require('chalk'); // 以树图的方式展示打包后的文件 阅读全文
posted @ 2019-11-11 13:49 IT—小子 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 安装配置 git https://gitforwindows.org/github访问的速度慢 https://cloud.tencent.com/developer/article/1426844 原因: 1. 初始访问 github.com 时网络寻址会比较耗费时间,这也是网站打开速度慢的其中一 阅读全文
posted @ 2019-10-19 11:10 IT—小子 阅读(199) 评论(0) 推荐(0) 编辑