ng7-farris-ui

0.0.0 • Public • Published

Ng7FarrisUi

如何运行工程

  • 首先,npm install 安装所有依赖
  • 其次,执行 build:libs 生成运行时依赖的文件
  • 最后,npm run start

如何在demo中实时更新自己的组件

  • 比如在demo中,测试组件ui-response-toolbar
  • 在demo中,创建测试page页
  • 修改src/tsconfig.app.json, 在属性 compilerOptions 的path属性中插入键值对 组件名:[组件源码/api入口] 比如"@farris/ui-response-toolbar":["projects/response-toolbar/src/public-api.ts"]
  • 最后,npm run start

结构说明待续

This project was generated with Angular CLI version 7.3.7.

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|guard|interface|enum|module.

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.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Readme

Keywords

none

Package Sidebar

Install

npm i ng7-farris-ui

Weekly Downloads

2

Version

0.0.0

License

none

Unpacked Size

34.9 MB

Total Files

3671

Last publish

Collaborators

  • hxling