摘要:
vue解决跨域问题 跨域问题 如何解决 module.exports = { devServer: { proxy: { // 代理 "/api": { target: 'https://api.aboutnb.com', changeOrigin: true, // 是否为HTTPS协议:true 阅读全文
摘要:
部署hexo到GitHub 1. GitHub创建个人仓库 首先,你先要有一个GitHub账户 注册完登录后,在GitHub.com中看到一个New repository,新建仓库 创建一个和你用户名相同的仓库,后面加.github.io只有这样,将来要部署到GitHub page的时候,才会被识别 阅读全文
摘要:
Centos安装命令: yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh Ubuntu/Deepin安装命令: wget -O install 阅读全文
摘要:
单行文本 //单行文本 overflow: hidden; text-overflow:ellipsis; white-space: nowrap; 多行文本 //多行文本 display: -webkit-box; -webkit-box-orient: vertical; -webkit-lin 阅读全文
摘要:
html{ /*隐藏滚动条,当IE下溢出,仍然可以滚动*/ -ms-overflow-style:none; /*火狐下隐藏滚动条*/ overflow:-moz-scrollbars-none; } //谷歌下隐藏滚动条 ::-webkit-scrollbar{ display:none; } 阅读全文