GithubHelp home page GithubHelp logo

fengg5241 / openwms-frontend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from guoyu07/openwms-frontend

0.0 2.0 0.0 10.71 MB

这是OpenWMS项目的前端代码,基于当前最新的Angular 6.0.0 和PrimeNG 5.2.4。

Home Page: http://www.ngfans.net

License: MIT License

TypeScript 27.47% JavaScript 0.68% HTML 28.15% CSS 43.71%

openwms-frontend's Introduction

中文版 README

OpenWMS-Frontend

This is the front-end project of OpenWMS, based on Angular 6.0.0 and PrimeNG 5.2.4 .

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.

openwms-frontend's People

Contributors

damoqiongqiu avatar zhmushan avatar xieshundaa avatar liuxiaodeng avatar zhongzhong0505 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.