eggjs静态图片管理工具 学习egg
最开始使用iview组件,但是路上遇到了不少坑,再加上我感觉iview组件的完善程度不如element,于是用element组件重新做了一遍,虽然最终想要达到的效果不如我一开始设想的,但是这也算eggjs的第一个练手项目,之后我会不断改善这个项目
阶段性目标:
- 提高接口的复用性 —--
- 通过减少请求次数进一步提高用户体验 ---
- 改善用户界面 ---
- 部署发布 ---
cd app/public/index_el.html
$ npm i
$ npm run dev
$ open http://localhost:7001/
$ npm start
$ npm stop
- Use
npm run lint
to check code style. - Use
npm test
to run unit test. - Use
npm run autod
to auto detect dependencies upgrade, see autod for more detail.
[egg]: https://eggjs.org# Image_Management