什麼是 mf-integrate?
將模組聯合整合到現有專案中 - 新增提供者(公開模組)或消費者(載入遠端模組)配置。當使用者想要將模組聯合添加到現有的 Rsbuild / Rspack / Webpack / Modern.js / Next.js / Vite 專案、設定遠端、建立主機應用程式或快速使用演示提供者以查看 MF 工作時使用。預設角色是消費者。 來源:module-federation/core。
將模組聯合整合到現有專案中 - 新增提供者(公開模組)或消費者(載入遠端模組)配置。當使用者想要將模組聯合添加到現有的 Rsbuild / Rspack / Webpack / Modern.js / Next.js / Vite 專案、設定遠端、建立主機應用程式或快速使用演示提供者以查看 MF 工作時使用。預設角色是消費者。
透過命令列快速安裝 mf-integrate AI 技能到你的開發環境
來源:module-federation/core。
MF Scaffold — Add Module Federation to an Existing Project
If no bundler can be detected (no rsbuild.config, rspack.config, webpack.config, modern.config, next.config, vite.config found), this is likely a new project. Tell the user:
This looks like a new project. Run the following command to scaffold a full Module Federation project: ```bash npm create module-federation@latest ```
將模組聯合整合到現有專案中 - 新增提供者(公開模組)或消費者(載入遠端模組)配置。當使用者想要將模組聯合添加到現有的 Rsbuild / Rspack / Webpack / Modern.js / Next.js / Vite 專案、設定遠端、建立主機應用程式或快速使用演示提供者以查看 MF 工作時使用。預設角色是消費者。 來源:module-federation/core。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/module-federation/core --skill mf-integrate將模組聯合整合到現有專案中 - 新增提供者(公開模組)或消費者(載入遠端模組)配置。當使用者想要將模組聯合添加到現有的 Rsbuild / Rspack / Webpack / Modern.js / Next.js / Vite 專案、設定遠端、建立主機應用程式或快速使用演示提供者以查看 MF 工作時使用。預設角色是消費者。 來源:module-federation/core。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/module-federation/core --skill mf-integrate 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/module-federation/core