会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
fengnovo
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2017年7月24日
常用ui
摘要: 在线预览:https://fengnovo.github.io/demo/simpleUi/参考:http://www.jianshu.com/p/9649dbc1c9af http://blog.csdn.net/wyk304443164/article/details/72896623
阅读全文
posted @ 2017-07-24 11:09 fengnovo
阅读(150)
评论(0)
推荐(0)
2017年7月22日
git命令备忘
摘要: git log git status git stash list git status git add . git stash save 'jsmind' git status git pull git status git status git cherry -v git log git pull git commit -m 'change url.' git log git s...
阅读全文
posted @ 2017-07-22 16:43 fengnovo
阅读(129)
评论(0)
推荐(0)
2017年6月13日
关于git的一些使用
摘要: 1.不懂就输入 git --help git initgit statusgit add .git commit -m 'update'git statusgit pushgit pull 2.当git pull出现error: unable to unlink old 'simpleFetch/b
阅读全文
posted @ 2017-06-13 23:01 fengnovo
阅读(361)
评论(0)
推荐(0)
2017年6月6日
react项目打包优化,加速首屏加载
摘要: 这里主要是对webpack配置进行项目的代码压缩优化(本文只针对webpack2打包正式环境时配置) 1.首先要对webpack设置NODE_ENV 2.对js压缩 3.对css压缩 在使用loaders时 再使用插件extract-text-webpack-plugin 4.对html压缩,使用h
阅读全文
posted @ 2017-06-06 15:26 fengnovo
阅读(5420)
评论(0)
推荐(0)
react-router打包后无法通过路由进入到页面
摘要: react-router打包后无法通过路由进入到页面,是因为当我们使用react-router-dom里的BrowserRouter as Router时,是用浏览器history对象的方法去请求服务器, 如果服务器没有相对于的路由去指向对应的页面路由会找不到资源。 BrowserRouter会变成
阅读全文
posted @ 2017-06-06 14:44 fengnovo
阅读(9363)
评论(0)
推荐(0)
腾讯云部署node,mongoDB,nginx
摘要: 1.进入终端,输入ssh ubuntu@111.***.***.***,登录,登录完切换为root权限用户,sudo -s 2.输入pwd看目录结构,接着执行以下命令 mkdir git cd git git clone https://github.com/creationix/nvm.git 找
阅读全文
posted @ 2017-06-06 14:23 fengnovo
阅读(1669)
评论(0)
推荐(0)
2017年6月1日
react-router与react-redux跳转后保存store数据(基于"react-router": "^2.8.0")
摘要: 1.router引入 import { Route, IndexRoute, Router, hashHistory, browserHistory } from 'react-router'; <Router routes={routes} history={browserHistory}/> 假
阅读全文
posted @ 2017-06-01 11:06 fengnovo
阅读(3686)
评论(0)
推荐(0)
2017年5月26日
React Native Networking API
摘要: Networking (网络) 大部分移动应用程序都需要从一个远程网址上加载数据资源,那么我们需要向一个接口发送一个请求,或者只需要从另外一个服务器获取一个静态内容. 1.Using Fetch (使用Fetch) React Native为我们提供了网络请求所需要的Fetch API . Maki
阅读全文
posted @ 2017-05-26 09:07 fengnovo
阅读(433)
评论(0)
推荐(0)
2017年5月24日
Flux快速入门指南
摘要: 翻译自 http://www.jackcallister.com/2015/02/26/the-flux-quick-start-guide.html 2015年2月26日 本文将概述如何使用Flux模式构建JavaScript应用程序。让您熟悉核心助焊剂概念的材料是最少的。您应该跟随随附的入门工具
阅读全文
posted @ 2017-05-24 09:15 fengnovo
阅读(1938)
评论(0)
推荐(0)
2017年5月3日
git命令行
摘要: 1.进入本地的项目目录,右键“Git Bash here”,调出git命令行界面,然后输入 2.就是将目录下的所有文件上传,也可以将“.”换成具体的文件名 git add . 3.将项目提交到gitHub git commit -m "注释语句" 4.在github上创建新的repository 5
阅读全文
posted @ 2017-05-03 06:46 fengnovo
阅读(214)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告