@99thoughts/ui-components 中文文档教程
TegileNg2Lib
此项目是使用 angular-cli 版本 1.0.0-beta.11-webpack.8 生成的。
Development server
为开发服务器运行 ng serve
。 导航到 http://localhost:4200/
。 如果您更改任何源文件,该应用程序将自动重新加载。
Code scaffolding
运行 ng generate component component-name
生成一个新组件。 您还可以使用 ng generate directive/pipe/service/class
。
Build
运行 ng build
来构建项目。 构建工件将存储在 dist/
目录中。 使用 -prod
标志进行生产构建。
Running unit tests
运行 ng test
以通过 Karma 执行单元测试。
Running end-to-end tests
运行 ng e2e
以通过 Protractor 执行端到端测试。 在运行测试之前,请确保您正在通过 ng serve
为应用程序提供服务。
Deploying to Github Pages
运行 ng github-pages:deploy
以部署到 Github Pages。
Further help
要获得有关 angular-cli
的更多帮助,请使用 ng --help
或查看 Angular-CLI 自述文件。
Build lib components
运行 gulp build:release
TegileNg2Lib
This project was generated with angular-cli version 1.0.0-beta.11-webpack.8.
Development server
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Code scaffolding
Run ng generate component component-name
to generate a new component. You can also use ng generate directive/pipe/service/class
.
Build
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Running unit tests
Run ng test
to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e
to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve
.
Deploying to Github Pages
Run ng github-pages:deploy
to deploy to Github Pages.
Further help
To get more help on the angular-cli
use ng --help
or go check out the Angular-CLI README.
Build lib components
Run gulp build:release