joeldenning / coexisting-vue-microfrontends

A repo showing separate vue apps coexisting as microfrontends with single-spa
http://coexisting-vue-microfrontends.surge.sh/
MIT License
614 stars 143 forks source link

My current needs need to be able to communicate in various projects and pass data to each other for access. #53

Closed kavinluo closed 4 years ago

kavinluo commented 4 years ago

My current needs need to be able to communicate in various projects and pass data to each other for access. But the current functions should not be realized?

joeldenning commented 4 years ago

Hi @kavinluo - there are several methods of communicating between microfrontends, including simple import / export.

Here is the documentation for how you can accomplish it: https://single-spa.js.org/docs/recommended-setup#inter-app-communication