diff --git a/README.md b/README.md index 7e5189d..37c9bf0 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,26 @@ npm i @saleor/app-sdk ## Development +### How to link development version to your project + +If you would like to develop the SDK and test it with existing project: + +1. In the Saleor App SDK directory run command + +```bash +pnpm watch +``` + +Now any code change will trigger build operation automatically. + +2. In your project directory: + +```bash +pnpm add ../saleor-app-sdk/dist +``` + +As path to your local copy of the App SDK may be different, adjust it accordingly. + ### Code style Before committing the code, Git pre-hooks will check staged changes for