lana-frontend-sdk
v0.3.12
Published
This is a front end sdk for reusable services and components
Downloads
26
Readme
Lana-Frontend-Sdk
This is a front end sdk for reusable services and components
To use the SDK
1 - run npm install
2 - to export the services run npm run pack-services
To Publish the SDK
1 - navigate to \dist
2 - run npm login
and enter your npmjs credintials
4 - run npm publish --access public
6 - get the path for the navigated package and go to the root project that you want to use the sdk at.
To Use in other projects
1 - run npm install lana-frontend-sdk@latest
or make sure it's already added to the package.json file
2 - import LanaApiModule
with forRoot
function with a parameter with and object containing miningUrl,licenseUrl
To install the SDK locally
1 - navigate to \dist
2 - run npm pack
3 - copy the path of generated .tgz
file
4 - run npm install lana-frontend-sdk@latest
or make sure it's already added to the package.json file