PWA Extension Development setup recommendations #3169
Unanswered
lilbumblebear
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Getting started on developing some extensions for PWA! I have tried to read a lot of the documentation but I am still having trouble getting a good setup working.
If I want to develop several extensions, and test them on different storefronts, this is what I have done so far:
If I include the extension in store1's package json using
"extension1": "file:../../extensions/extension1"
and runyarn install
oryarn upgrade extension1
(when code changes) things work ok. However I have toyarn upgrade extension1
every time the code changes to see it in the store I am watching.I tried using the
yarn link
proposed solution here, but when I runyarn watch
I now have an error:I would like to be able to see extension changes immediately using hot reloading, without having to
yarn upgrade
each time the code changes. Does anyone else have this type of setup? How do you have things setup and working well?Beta Was this translation helpful? Give feedback.
All reactions