Issue
I have a module, let call it contact_us
, that I have linked it to my ionic project. I could successfully link the module and see it in my app, but when I modify the contact_us
module, the changes are not reflected in my project.
Here is what I've done:
- In the
contact_us
module:
npm link
- In the project:
npm link contact_us
ionic cap build android
Does anyone know what I'm missing? Thanks in advance.
Solution
Well, I found how to update the link. In your module directory, i.e., contact_us, do:
npm run build
cd /dist/contact_us
npm link
ng build --watch
Then in the you project directory:
npm link contact_us
ionic cap build android
Answered By - user6781
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.