Closed cabudies closed 1 year ago
clone saleor-sdk switch into a stable branch like master Run these commands
$ npm i
$ cd lib
$ npm link
now, clone saleor-storefront
$ cd <your storefront path>
Remove, cut that saleor-sdk from package.json
$ npm i
$ npm link @saleor/sdk
Paste saleor-sdk that been cut previously in package.json
these are the steps I followed and it worked. Hope it'll work for you as well✌🏼
clone saleor-sdk switch into a stable branch like master Run these commands
$ npm i $ cd lib $ npm link
now, clone saleor-storefront
$ cd <your storefront path>
Remove, cut that saleor-sdk from package.json
$ npm i $ npm link @saleor/sdk Paste saleor-sdk that been cut previously in package.json
these are the steps I followed and it worked. Hope it'll work for you as well✌🏼
@jatinbharadwaj I tried as what you said. However, I could not find the lib
folder, will you kindly help?
$ npm i
$ cd lib # <-- where is this folder?
$ npm link
clone saleor-sdk switch into a stable branch like master Run these commands
$ npm i $ cd lib $ npm link
now, clone saleor-storefront
$ cd <your storefront path>
Remove, cut that saleor-sdk from package.json
$ npm i $ npm link @saleor/sdk Paste saleor-sdk that been cut previously in package.json
these are the steps I followed and it worked. Hope it'll work for you as well✌🏼
@jatinbharadwaj I tried as what you said. However, I could not find the
lib
folder, will you kindly help?$ npm i $ cd lib # <-- where is this folder? $ npm link
Do
npm run prepare
it will create /lib directory
How to work on local development for the sdk and map it with saleor-storefront?