Jiannan Zhang
Jiannan Zhang
> 目前比较大问题 卡在 > > ``` > [vite] Internal server error: Failed to resolve import "host/App" from "src\App.tsx". Does the file exist? > Plugin: vite:import-analysis > 我用dev没有报错,而且react还是尽量用build吧,dev运行起来会有其他奇奇怪怪的打包问题
你看看这个 https://github.com/originjs/vite-plugin-federation/issues/129#issuecomment-1048474627
@AndreiSoroka How can I reproduce the problem?
@AndreiSoroka HI , thx for your reproduce repo I changed the configuration and I see it locally like this and it seems to work   you only need to...
This plugin can only load components from remote, it does not help you to run a vue3 component on vue2, but this may help you to use this library to...
I probably know what the reason for the failure is, because federation's shared only looks under node_modules, not according to its own remotes, so it can't find `auth` modules 
This should be one of the subsequent features to be implemented, I'll add it to the plan first, thanks
> Hi @ruleeeer, I' ve step into a similar issue. > > I created a copy of [react-vite example](https://github.com/originjs/vite-plugin-federation/tree/main/packages/examples/react-vite?rgh-link-date=2023-01-07T09%3A12%3A20Z) and just replaced package.json scripts to use yarn. Here is the...
@susannakosic Until I release a new version, here's another simple way to solve the problem, change the contents of shared in the app dir. ## before ``` js shared: ['react']...
Since the solution already exists, close