Two vuecli projects interact with each other

I have a question. What if I have two vuecli projects and there is a button in project-1 and project-2; project-1 that wants to click one of the load routing project-2 components into a router-view in project-1?


as far as I understand it, your two projects generated in vue-cli are two completely separate projects, so why is there a strange need to use what is in project one to project two?


it's amazing. I don't understand that you have such a need.

if you want to solve the problem, don't you just click the button in the project-1 project and jump to project-2? Is there anything to struggle with? When your project is put on the server, you write a config file in advance, and then the project is referenced.

Menu