xt-components 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,24 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+

|
|
2
|
+
# XT-Components
|
|
2
3
|
|
|
3
|
-
This
|
|
4
|
+
This is the core of [ng-xtend framework](https://github.com/dont-code/ng-xtend/blob/main/README.md), where xt-components are defined.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
Include this library in all your projects using ng-xtend.
|
|
6
7
|
|
|
7
|
-
Run `ng generate component component-name --project xt-components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project xt-components`.
|
|
8
|
-
> Note: Don't forget to add `--project xt-components` or else it will be added to the default project in your `angular.json` file.
|
|
9
8
|
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build xt-components` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build xt-components`, go to the dist folder `cd dist/xt-components` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test xt-components` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|