Skip to content

eggjs/egg-ant-design-pro

Folders and files

NameName
Last commit message
Last commit date
Jul 24, 2019
Jan 7, 2019
Mar 15, 2018
Oct 23, 2018
Mar 15, 2018
Oct 23, 2018
Feb 28, 2018
Nov 14, 2018
Jul 24, 2019
Feb 28, 2018
Mar 2, 2018
Feb 28, 2018
Jul 24, 2019

Repository files navigation

Egg Example for Ant Design Pro

A full example with frontend(Ant Design Pro) and backend(Egg.js).

Development

Egg has integrated with assets tools by egg-view-assets, so you don't have to start another command for serving assets.

$ npm run dev

npm run dev will start a dev server for assets that configured in config.assets.devServer.

Deployment

Assets should be compiled before shipping.

$ npm run build

It will be generated to app/public that hosted by Egg, due to the configration of ``.webpackrc`.

Start Egg with prod environment.

$ npm start

Deploy assets to CDN

TODO

How to Contribute

Please let us know how can we help. Do check out issues for bug reports or suggestions first.

To become a contributor, please follow our contributing guide.

License

MIT