federation({ name: "aaApp", filename: "remoteEntry.js", // 需要暴露的模块 exposes: { "./getToken": "./src/util/get-token.ts", "./setToken": "./src/util/set-token.ts", "./getSum": "./src/util/get-sum.ts", }, shared: { vue: {}, pinia: {}, "@/util/sum": { pa...
vue3-advanced-demo vite+esm vue-router/pinia vite+esmvue-router/pinia vue3-demo-esm vite+esm vite+esm vue3-demo-systemjs vite+systemjs vite+systemjs vue3-demo-webpack-esm-esm vite/webpack+esm vite/webpack+esm vue3-demo-webpack-esm-var vite+esm webpack+var vue3-demo-webpack-systemjs...
(env.VITE_SKILL_LIST_ENDPOINT||'http://localhost:8040/skills'),shared:{vue:{},pinia:{},ovosStore:{packagePath:'./src/store/ovos.ts',},websocketStore:{packagePath:'./src/store/websocket.ts',},},}),],resolve:{alias:{'@':fileURLToPath(newURL('./src',import.meta.url)),},},...
vue-router/piniavite+esm vue-router/pinia vue3-demo-esmvite+esmvite+esm vue3-demo-systemjsvite+systemjsvite+systemjs vue3-demo-webpack-esm-esmvite/webpack+esmvite/webpack+esm vue3-demo-webpack-esm-varvite+esmwebpack+var vue3-demo-webpack-systemjsvite+systemjswebpack+systemjs ...
or yarn add @originjs/vite-plugin-federation --dev Usage Using theModule Federationusually requires more than 2 projects, one as thehost sideand one as theremote side. Step 1: Configure the remote side. for a vite project, modifyvite.config.js: ...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...
vue-router/piniavite+esm vue-router/pinia vue3-demo-esmvite+esmvite+esm vue3-demo-systemjsvite+systemjsvite+systemjs vue3-demo-webpack-esm-esmvite/webpack+esmvite/webpack+esm vue3-demo-webpack-esm-varvite+esmwebpack+var vue3-demo-webpack-systemjsvite+systemjswebpack+systemjs ...
vue3-advanced-demo vite+esm vue-router/pinia vite+esmvue-router/pinia vue3-demo-esm vite+esm vite+esm vue3-demo-systemjs vite+systemjs vite+systemjs vue3-demo-webpack-esm-esm vite/webpack+esm vite/webpack+esm vue3-demo-webpack-esm-var vite+esm webpack+var vue3-demo-webpack-systemjs...
vue3-advanced-demo vite+esm vue-router/pinia vite+esmvue-router/pinia vue3-demo-esm vite+esm vite+esm vue3-demo-systemjs vite+systemjs vite+systemjs vue3-demo-webpack-esm-esm vite/webpack+esm vite/webpack+esm vue3-demo-webpack-esm-var vite+esm webpack+var vue3-demo-webpack-systemjs...