-
Notifications
You must be signed in to change notification settings - Fork 67
How To
andreigiura edited this page Jan 5, 2023
·
9 revisions
-
Clone
dapp-core
in 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 build
andnpm 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-core
repository -
In dapp-core run:
yarn install
-
In dapp-core run:
yarn build
andyarn start
andcd 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