@1campus/moe-course-ng 中文文档教程
MoecourseNg
此库是使用 Angular CLI 11.0.9 版生成的。
Code scaffolding
运行 ng generate component component-name --project moe-course-ng
生成一个新组件。 您还可以使用 ng generate directive|pipe|service|class|guard|interface|enum|module --project moe-course-ng
。
注意:不要忘记添加
--project moe-course-ng
否则它将被添加到angular.json
文件中的默认项目中。
Build
运行 ng build moe-course-ng
来构建项目。 构建工件将存储在 dist/
目录中。
Publishing
使用 ng build moe-course-ng
构建你的库后,转到 dist 文件夹 cd dist/moe-course-ng
并运行 npm publish --access公开。
MoecourseNg
This library was generated with Angular CLI version 11.0.9.
Code scaffolding
Run ng generate component component-name --project moe-course-ng
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project moe-course-ng
.
Note: Don't forget to add
--project moe-course-ng
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build moe-course-ng
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build moe-course-ng
, go to the dist folder cd dist/moe-course-ng
and run npm publish --access public
.