in demo-angular/tsconfig.json update include and exclude properties to the following (same as in your demo app):
"include": [
"../src",
"*/"
],
"exclude": [
"../src/node_modules",
"node_modules",
"platforms"
]
in demo-angular/package.json add your plugin source as a dependency - "nativescript-your-plugin": "file:../src"
Hi @satyam04,
There is a proposal/feature request in another issue to enable adding demo apps at a later stage - https://github.com/NativeScript/nativescript-plugin-seed/issues/168.
However, here are the steps that you could execute in your plugin directory in order to add demo-angular to your repo:
tns create demo-angular --template tns-template-blank-ng
- create blank nativescript angular appdemo-angular/tsconfig.json
updateinclude
andexclude
properties to the following (same as in your demo app): "include": [ "../src", "*/" ], "exclude": [ "../src/node_modules", "node_modules", "platforms" ]demo-angular/package.json
add your plugin source as a dependency -"nativescript-your-plugin": "file:../src"