react

package.json ENOSPC  
文件监控增加一些
echo fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

http://andrewhfarmer.com/starter-project/
https://github.com/petehunt/react-howto/blob/master/README-zh.md
https://github.com/petehunt/webpack-howto/blob/master/README-zh.md
output: {
    path: "/home/proj/public/assets", // webpack的build路径
    publicPath: "/assets/" // 你require的路径
}
location / {
    root /var/www;
    index index.html;

    try_files $uri $uri/ /index.html;
}


posted @ 2016-11-18 11:34  anjunact  阅读(108)  评论(0编辑  收藏  举报