Subscribe on changes!

The template of the remote component is not compiled

avatar
Dec 7th 2020

Version

3.0.4

Reproduction link

https://github.com/efoxTeam/emp/tree/vue3-template-no-compiled

Steps to reproduce

When I use the introduction of remote components through EMP of base module federation , the remote component template of Vue3 is not compiled.

  1. git clone https://github.com/efoxTeam/emp.git
  2. git checkout vue3-template-no-compiled
  3. yarn
  4. yarn lerna bootstrap
  5. cd ./projects && yarn dev:vue
  6. cd projects/element-plus && yarn dev

http://localhost:8006/ image

What is expected?

The remote component template of Vue3 is compiled.

What is actually happening?

The remote component template of Vue3 is not compiled.

https://github.com/efoxTeam/emp/issues/18

avatar
Dec 7th 2020

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.

This should help you https://v3.vuejs.org/guide/installation.html#explanation-of-different-builds FYI: https://new-issue.vuejs.org/?repo=vuejs/vue-next#why-repro

avatar
Dec 7th 2020

But no resolve my problem