Vue child components are not rendered
See original GitHub issueI forked from vue3-demo which is working as expected. (simple example without child components)
But when I create more complex component which contains another child component it is not rendered. In my case it is TextField which contains TextInput.
I created minimal version where I want to show you my issue with module federation webpack plugin.
I received answer someone from vue community, that there is a warning
VNode type: Symbol(Fragment) (symbol)
and
resolveComponent can only be used in render() or setup()
Which is caused by having two colliding copies of Vue So I tried to use this configuration:
`new ModuleFederationPlugin( {
name: "home",
filename: "remoteEntry.js",
remotes: {},
library: { type: "var", name: "home" }, exposes: {
"./TextField": "./src/components/TextField",
"./TextInput": "./src/components/TextInput",
},
shared: ["vue"],
}),
` But results are same.
So I commited my example in here
Could you please help me anyone, why it is not working? Is it a bug? I tried same with React and but it works as expected.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:6 (2 by maintainers)
Top GitHub Comments
It looks like it is not, in newer version.
Help wanted on fixing this - I’m not a vue user