Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eggjs/egg-ant-design-pro
showcase for Egg loves Ant Design
https://github.com/eggjs/egg-ant-design-pro
ant-design-pro antd egg showcase
Last synced: 9 days ago
JSON representation
showcase for Egg loves Ant Design
- Host: GitHub
- URL: https://github.com/eggjs/egg-ant-design-pro
- Owner: eggjs
- License: mit
- Created: 2018-02-27T14:50:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-26T09:00:18.000Z (over 5 years ago)
- Last Synced: 2024-10-29T21:05:50.674Z (10 days ago)
- Topics: ant-design-pro, antd, egg, showcase
- Language: JavaScript
- Homepage:
- Size: 400 KB
- Stars: 317
- Watchers: 26
- Forks: 48
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-egg - egg-ant-design-pro - ant-design-pro.svg?style=social&label=Star) (应用 / 插件)
- awesome-egg - egg-ant-design-pro
README
# 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.
```bash
$ 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.
```bash
$ 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.
```bash
$ npm start
```### Deploy assets to CDN
TODO
## How to Contribute
Please let us know how can we help. Do check out [issues](https://github.com/eggjs/egg/issues) for bug reports or suggestions first.
To become a contributor, please follow our [contributing guide](CONTRIBUTING.md).
## License
[MIT](LICENSE)
[Egg.js]: https://eggjs.org
[Ant Design Pro]: https://github.com/ant-design/ant-design-pro
[egg-view-assets]: https://github.com/eggjs/egg-view-assets