开源中国 2018 年度最后一场技术盛会邀你来约~错过就要等明年啦!点此立即预约

大漠穷秋 / OpenWMS-FrontendTypeScriptMIT

Watch 131 Star 158 Fork 111
加入碼雲
與超過 200 萬 開發者一起發現、參與優秀開源項目,私有倉庫也完全免費 :)
免費加入
这是OpenWMS项目的前端代码,基于Angular 7.0.0 和PrimeNG 6.1.5。 展開 收起

http://www.ngfans.net

Loading...
README.md

中文版 README

OpenWMS-Frontend

This is the front-end project of OpenWMS, features:

  • Angular:7.0.0
  • UI Component:PrimeNG 6.1.5
  • Chart:ngx-echarts
  • i18n:ngx-translate
  • Font icon:font-awesome

Everything has been integrated.

Demo Site

Demo site on Alibaba Cloud: http://47.104.80.251:4200

Screenshots

If this repo is useful to you, please star it, thank you. ### Evolution History

Directory Structure

Usage

For Chinese developers:

Please fork this repo first
git clone your-repo-url
cd OpenWMS-Frontend
npm i -g cnpm --registry=https://registry.npm.taobao.org
cnpm i -g @angular/cli
cnpm install
ng serve --env=dev

For others:

Please fork this repo first
git clone your-repo-url
cd OpenWMS-Frontend
npm install
ng serve --env=dev

Open your browser and visit http://localhost:4200/

HMR Support

You don't want the browser to refresh the whole window when you modified some code, so we have HMR module.

@angular/cli doesn't support HRM by default, we have to handle this by ourselves, please refer to this article on Medium: https://medium.com/wizardnet972/hot-module-replacement-with-angular-cli-5fc7a3ae4a9c

In order to run this repo in HRM mode, please run this command:

npm run hmr

NOTE:@angular/cli V6.x has integrated HMR support, so just run this in your terminal:

ng serve --hmr

Switching environment

There are three config files located in src/environments, named environment.dev.ts, environment.mock.ts, and environment.prod.ts.

"environment.dev.ts" will be used when no parameter was detected from your terminal, if you want to switch to other envirmont, try this:

ng serve -e mock

License

MIT

You can use this project whatever you want, there is no need to notify me in advance, because Chinese developers are always busy.

If you want more learning materials in Chinese, please visit this site: www.ngfans.net

QQ Group

Angular-OpenWMS

If this repo is useful to you, please star it, thank you.

項目點評 ( 12 )

你可以在登錄後,發表評論

搜索幫助

12_float_left_people 12_float_left_close