开发环境
Q&A
- 如何防止用户重复打开应用?
- 执行Nedb操作有时无响应(callback不被调用)?
- 上一次操作参数有误导致后面的操作都被挂起(参看BUG)
- 路径问题:相对路径 v.s. 绝对路径?数据文件路径?
- 界面(ui组件)载入使用相路径(相对于对于起始页index.html)
- 业务(mdl&&dao)对象require使用绝对路径(appPath+对象.js)
- 数据文件存放在userData路径下:app.getPath(‘userData’)
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment