-
Notifications
You must be signed in to change notification settings - Fork 78
How To
andreigiura edited this page Jan 5, 2023
·
9 revisions
-
Clone
dapp-corein the same folder as your project (my-dapp) -
In dapp-core run:
npm link ../my-dapp/node_modules/react ../my-dapp/node_modules/axios -
In dapp-core run:
npm run buildandnpm run start -
In my-dapp run:
npm link ../dapp-core/dist -
In my-dapp run:
npm run start
Prerequisite: npm i -g yalc
-
Clone
dapp-corerepository -
In dapp-core run:
yarn install -
In dapp-core run:
yarn buildandyarn startandcd dist -
In my-dapp (your project) run:
yalc link @elrondnetwork/dapp-core -
After every change in dapp core run (while in 'dist' folder):
yalc publish --push
To remove yalc dependecies from you project, in my-dapp run:
yalc remove --all