自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (1)
  • 问答 (1)
  • 收藏
  • 关注

原创 create-react-app 脚手架添加sass的配置

需要先爆漏webpack的配置文件npm run eject先安装对应的loaderyarn add node-sass sass-loader修改代码(文件:webpack.config.dev.js) ,/\.scss$/ { test: /\.scss$/, loaders: ['style-loader', 'css-loader', 'sass-...

2018-11-30 14:32:41 736

原创 git add .出现 CRLF will be replaced by LF in XXXXXX的报错

我写的了git add . 出现以下的报错,git status 查看没有添加本地仓库中.报错信息warning: CRLF will be replaced by LF in XXX . The file will have its original line endings in your working directory.解决git config core.autocrl...

2018-11-28 11:05:45 503

原创 Centos7上安装docker + docker-compose

Docker从1.13版本之后采用时间线的方式作为版本号,分为社区版CE和企业版EE。社区版是免费提供给个人开发者和小型团体使用的,企业版会提供额外的收费服务,比如经过官方测试认证过的基础设施、容器、插件等。社区版按照stable和edge两种方式发布,每个季度更新stable版本,如17.06,17.09;每个月份更新edge版本,如17.09,17.10。一、安装docker1、Doc...

2018-11-25 21:16:13 272

原创 CentOS下的Mysql的安装和使用

参考文章链接 https://www.cnblogs.com/suxiaoman/p/7693066.html

2018-11-21 10:19:51 526

原创 vue 项目实现发 邮件 的功能

新版本vue-cli 生成已经木有server的文件,需要我们手动来创建一个server.js 在更目录下(和index.html同级)server.js (下面的相关参数已经隐藏起来,请用自己的邮箱测试,谢谢)var path = require('path')var express = require('express')var webpack = require('webpac......

2018-11-15 17:37:38 29958 21

原创 react的报错 You should not use ‘Link’ outside a ‘Router’

环境:“react”: “^16.4.0”,“react-dom”: “^16.4.0”,“react-redux”: “^5.0.7”,“react-router”: “^4.3.1”,“react-router-dom”: “^4.3.1”我在Header组件中 写了一个Link跳转路由,一直报错误You should not use <Link> outside...

2018-11-15 11:23:48 7269

原创 nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

环境 centos出现这个错误是,其他80端口被占用了nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)执行:sudo fuser -k 80/tcp重启:/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf...

2018-11-07 17:31:06 554

原创 腾讯云 centos nginx安装

安装步骤gcc:nginx编译依赖gcc环境yum install gcc-c++pcre:(Perl Compatible Regular Expressions)是一个Perl库,包括perl兼容的正则表达式库。nginx的http模块使用pcre来解析正则表达式.yum install -y pcre pcre-develzlib:该库提供了很多种压缩和解压缩的方式,...

2018-11-07 15:37:39 785

原创 使用koa-generator生成koa2项目

全局下载npm install -g koa-generator生成的koa的项目koa2 koa2_learn// 一般使用ejs的模版koa2 koa2_learn -e --ejs安装node_moudles和运行npm install npm start安装nodemon的包(不用每次修改完代码还要重新还要重新跑npm start的命令了)npm ...

2018-11-04 16:10:44 1022

原创 vue-cli3 的 [Vue warn]: You are using the runtime-only build of Vue where the template compiler 的问题解决

最近使用vue-cli3的脚手架生成项目,发现从配置完后vue-router的出现一个错误,[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functi...

2018-11-04 15:18:15 3624 1

jq文字上下滚动

jq写的文字滚动效果,实时计算滚动第一条后,移除第一条添加到最后一条的计算,数组长度始终是初始的长度

2017-10-30

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除