Skip to content

Commit

Permalink
docs: add instructions for link
Browse files Browse the repository at this point in the history
  • Loading branch information
gcusnieux committed Jan 10, 2022
1 parent fffe57d commit d5febdb
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,20 +159,17 @@ The available scripts are:
If you want link for use in other local project as dependency:

```bash
yarn link
yarn compile:watch
cd ../my-project
yarn link @gravitee/ui-components
yarn build
cd dist
npm link --ignore-scripts
cd ~/my-project
npm link @gravitee/ui-components
```

If you want link the prod version in other local project:
If you want to run hot-reload with npm link

```bash
yarn build
cd dist
yarn link
cd ../my-project
yarn link @gravitee/ui-components
yarn compile:watch
```

## Renovate
Expand Down

0 comments on commit d5febdb

Please sign in to comment.