Skip to content

Latest commit

 

History

History
135 lines (71 loc) · 3.56 KB

README_EN.md

File metadata and controls

135 lines (71 loc) · 3.56 KB

想要阅读本文档的中文版吗?点击此处

Profile

angular-base is an angular5.0-based seed project for enterprise-level rapid development.

Please be informed that this is a project intended for enterprise-level rapid development, meaning that it may not an appropriate project for green hands.

Project is maintained in repositories:

Idea

There's an old saying in China: Wise men are also normal men, but the ones who are good at utilizing tools.

Utiling tools out-of-the-box will save you both the time and the money. So, be a wise man using our project <_<.

Design

Tiny·Definite·Lucky

Design of this project is on base of ANT DESIGN provided by Alibaba. For more details, please refer to ANT DESIGN.

Note: Ant Design Library: http://library.ant.design/

Note: Ant-Design-related resources and tools: https://ant.design/docs/resource/download

Javascript libs/frames/etc. integrated

Note: How to employ third-party javascript libs in Angular2?

UI libs integrated

Note: How to integrate NG-ZORRO?

Note: How to integrate element?

Development environment

  • nodejs 8.4.0

  • npm 5.3.0

  • angular/cli: 1.5

  • TypeScript 2.4.2

Quick start

Change npm repository mirror (optional):

In case of bad network for Chinese developers, try the command below and first, and retry the above command.

npm i -g cnpm --registry=https://registry.npm.taobao.org

Note: Please be informed that this is an optional step instead of a must step ^_^.

Install angular-cli:

npm install -g @angular/cli@latest

Note: How to install angular-cli?

Install project dependencies

npm install

Open project for local development

Type the following command and your default browser will be opened automatically with "http://localhost:4000" being visited.

npm run start

Note: angular开发常见错误

Build

Type the following command, and built files will be deployed to dist folder in project root.

npm run build

Browser compatibility

Modern browsers and IE9+ (polyfills required)

Note: About polyfills

More

More info.

For more documents, please refer to files under folder: src/assets/doc.

Welcome to join us in QQ group: 317896269.