Introduction: I have created two projects using vue-cli ~4.2.0:
parent-app
- the main projectdummylib
- a library that is imported byparent-app
. It contains several.vue
components.
Currently, parent-app
functions well in dev mode with dummylib
being imported into it. All vue-components from dummylib
are rendering correctly.
Issue: I would like to make changes to dummylib
and see those changes instantly, similar to how it works for parent-app
, without having to rebuild it after each modification.
My current process for developing the library:
- (
dummylib
):yalc publish
- assuming it has already been built - (
parent-app
):yalc link dummylib
- (
parent-app
):npm serve
- start local development - Editing
dummylib
... - (
dummylib
):npm build
- !!! Would like to skip this step !!! - (
dummylib
):yalc publish --push
- After doing this, I can see my edits from step 4 being applied...
Are there any alternatives to bypass step 5? I also considered using a monorepo but decided against it for now.