mfe-webpack-module-fed: Webpack 5模块联合+ single-spa的基本测试

MFE + WP5 +单个SPA演示现场演示:backhand_index_pointing_right:每个软件包都作为一个单独的模块部署在CDN上,然后在核心应用程序上使用当前。这是一个monorepo,但想法是,每个程序包都可以分为自己的repo,并可以通过核心模块从CDN中使用。它使用Yarn Workspaces启动所有模块以进行本地开发。 配套搜索模块该模块公开实用程序,以使用来自Zustand的商店以及通过钩子获取字符,获取新字符并订阅商店的钩子。它还公开用于过滤字符的SearchPanel 。在React和Zustand中创建曝光: SearchPanel(组件) Zustand商店(字符,加载,fetchCharacters)查看器模块该模块使用在search module上注册的商店,并且在有新字符时将其显示在卡组件中。在Svelte创建。 曝光:查看器(组件)消耗: Search
zip
mfe-webpack-module-fed-main.zip 预估大小:42个文件
folder
mfe-webpack-module-fed-main 文件夹
file
package.json 508B
file
.gitignore 17B
file
README.md 2KB
file
yarn.lock 308KB
folder
packages 文件夹
folder
schwifty-shell 文件夹
file
.babelrc 39B
file
package.json 903B
folder
src 文件夹
file
App.scss 445B
file
index.js 24B
file
reset.scss 1KB
file
App.vue 707B
file
app-spa.js 367B
file
bootloader.js 130B
folder
components 文件夹
file
Footer.scss 211B
file
Footer.vue 321B
file
Navbar.vue 291B
file
Navbar.scss 144B
file
webpack.config.js 1KB
folder
public 文件夹
file
index.html 241B
folder
schwifty-search 文件夹
file
package.json 1KB
folder
src 文件夹
file
App.jsx 191B
file
index.js 23B
file
SearchPanel.jsx 1KB
file
SearchPanel.scss 211B
folder
apollo 文件夹
file
index.js 202B
file
bootstrap.jsx 146B
folder
store 文件夹
file
index.js 2KB
file
webpack.config.js 2KB
folder
public 文件夹
file
index.html 248B
folder
schwifty-viewer 文件夹
file
package.json 734B
folder
src 文件夹
file
index.js 113B
file
view-spa.js 329B
file
View.svelte 1KB
folder
components 文件夹
file
Card.svelte 1KB
file
webpack.config.js 1KB
folder
public 文件夹
file
index.development.html 240B
file
index.production.html 256B
folder
schwifty-core 文件夹
file
package.json 617B
folder
src 文件夹
file
index.js 210B
file
appManifest.js 515B
file
webpack.config.js 1KB
folder
public 文件夹
file
index.development.html 695B
file
index.production.html 717B
zip 文件大小:142.77KB