@permitio/permit-js
Version:
Permitio is a frontend package that makes it easy to use permit abilities
17 lines (12 loc) • 833 B
Markdown
Permit-JS helps you use Permit ablities inside your own application
In order to embed Permit Elements inside your own application you need to:
1. Create Element config inside permit UI at https://app.permit.io/elements
2. Get the code with the get code button
3. Add this SDK into your own app using npm i --save @permitio/permit-js / yarn add @permitio/permit-js
4. Import the permit instance with import permit from '@permitio/permit-js'; on your main page (the sooner the better)
5. Login your users at permit (details instructions can be found at https://docs.permit.io/elements)
6. Add the Iframe code you have copied from the get code button at stage 2
7. WIN! you now have new elements inside your own application!
For more details check out owr docs site https://docs.permit.io