xt-plugin-sample 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
2
|
|
|
3
|
-
|
|
3
|
+
# XT-Plugin-Sample
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
This is a plugin for [ng-xtend framework](https://github.com/dont-code/ng-xtend/blob/main/README.md).
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
> Note: Don't forget to add `--project sample-plugin` or else it will be added to the default project in your `angular.json` file.
|
|
7
|
+
It is an example of very Simple (Hello), Simple (Currency) and Complex (Money) components supporting ng-xtend
|
|
9
8
|
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build sample-plugin` 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 sample-plugin`, go to the dist folder `cd dist/sample-plugin` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test sample-plugin` 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.
|