I have two separate projects both scaffolded with create-react-app. First on - UI contains simple ui library. It's just a bunch of simple components with project structure like this:
app
src
CustomButton.js
...
Nothing unusual. Just a bunch of simple react components. And the second one is application itself.
Is it possible to use npm link to add UI project as dependency? I want to be able to import components from UI project like this:
import {CustomButton} from 'UI';