Can vue implement that the project is associated with a module, and will the module changes take effect immediately?

the 1.vue project has two parts, permissions and business. The business module is the startup entry of vue. You intend to package the permissions separately, and then the business module introduces this permission package in package.json.
2. Tried npm pack will be packaged into tgz, can be deployed as a module. But I also want to be able to implement the vue code that modifies permissions, which can take effect immediately on the interface
3. After trying the method shown in the figure, it feels like a link, but in the end, you will import IDEV_VUE (permission package) directly into the vue of the business
clipboard.png
4. Is there a great god who can give a good solution

Mar.02,2021

Welcome to git submodule

and the git visualization tool sourcetree


this may be a design problem, why there is a constantly changing package, can put the same logic in the package, different parts are dealt with in this package, for example, the function of this package is to get the latest version permissions and return the information needed by the component.

Menu