4.1000.5 • Published 4 months ago

@smartux/xpa-bridge v4.1000.5

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

SmartuxXpaBridge

This library was generated with Angular CLI version 11.0.9.

Code scaffolding

Build

Run ng build xpa-bridge --configuration=production to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build xpa-bridge, go to the dist folder cd dist/smartux-xpa-bridge and run npm publish.

Using the library in host application

In the host application add it as a dependency in packaage.json as : "@smartux/xpa-bridge": "^1.0.0" and do npm i

In app.module.ts , inject the SmartuxXpaBridgeModule and in the provider use the getProvider from the bridge

Changes needed : add import : import { SmartuxXpaBridgeModule, getProvider } from '@smartux/xpa-bridge';

add it to imports [] at the start imports: SmartuxXpaBridgeModule, ...

Add the provider : providers: getProvider(),

Note that these is automatically handled when application is generated in template , but for existing application the above steps should be performed manually .

##Debugging the library in host appplicaton When you need to change th library code and debug it , In the host application change the path of the smart-ux-bridge to point to the dist folder of library. i.e add the following code : "paths": { "@smartux/xpa-bridge" : "../../smartux-xpa-bridge/dist/xpa-bridge" }

4.1000.5

4 months ago

4.1000.3-dev5

4 months ago

4.1000.3-dev4

4 months ago

4.1000.3-dev3

4 months ago

4.1000.3-dev2

4 months ago

4.1000.3-dev6

4 months ago

4.1000.3-dev1

10 months ago

4.1000.4

12 months ago

4.1000.3

12 months ago

4.1000.2

12 months ago

4.1000.1

12 months ago

4.1000.0

12 months ago

0.0.0

12 months ago