GithubHelp home page GithubHelp logo

ycy1621260121 / emp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from empjs/emp

0.0 1.0 0.0 13.32 MB

EMP Micro FE Base on webpack 5 & module federation

Home Page: https://emp2.netlify.app

License: Other

Shell 0.03% JavaScript 14.74% AppleScript 0.61% TypeScript 58.65% CSS 0.89% HTML 0.68% Vue 3.71% Less 0.09% SCSS 20.61%

emp's Introduction

EMP ⚡ 2.0

npm node document Netlify Status

基于下一代构建实现微前端解决方案

  • 💡 微前端、微组件、支持ESM的共享模型
  • ⚡️ 结合SWC快速构建重载
  • 🛠️ 多功能模块支持TypeScript、JSX、CSS、Less、Sass 等支持开箱即用。
  • 📦 “多页应用” 或 “库” 模式的预配置 webpack 构建.
  • 🔩 通用的插件、共享 webpack chain 插件接口.
  • 🔑 TS重构项目、提供灵活的api、Plugin以及完整的类型提示.

🛠️ Typescript 工作流

Typescript 项目 dev 或 build 会生成当前项目 exposes 对应的声明

  • 执行 emp devemp build 后,生成的 index.d.ts 会在 dist/types 目录
  • 执行 emp dts 后,会下载 remote 对应的 d.ts 文件到 ./src/empShareTypes
    • -p 参数可以传下载目录,默认 ./src/empShareTypes

📦 Project

Project NPM Info Author
@efox/emp release Treasure chest Ken
@efox/emp-compile-swc release use swc replace babel, react support only Ken
@efox/plugin-vue-2 release EMP Vue v2 plugin Ken
@efox/plugin-vue-3 release EMP Babel for Vue 3 plugin MAXLZ1
@efox/eslint-config-react release ESLint React Config Ken
@efox/eslint-config-vue release ESLint Vue Config Ken

👬 Community

📖 Articles & Demos

[掘金] [知乎] [Antd Demo] [ESM Demo] [多入口 Demo] [vue 2 Demo]

👬 Contributors

EMP's contributors

emp's People

Contributors

aov2005 avatar byoungd avatar ckken avatar daqixiaoqi avatar deviljoker9 avatar doerme avatar flyyuan avatar garyhjy avatar goodgirlelena avatar lolipop99 avatar maxlz1 avatar movins avatar really-abel avatar ron0115 avatar typistzxd avatar vfiee avatar yellowbeee avatar zjl-me avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.