Coder Social home page Coder Social logo

wawa0584 / emp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from empjs/emp

0.0 0.0 0.0 13.01 MB

EMP Micro FE Base on webpack 5 & module federation

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

License: Other

JavaScript 16.80% HTML 0.77% SCSS 26.19% TypeScript 52.19% Less 0.12% CSS 0.12% Vue 3.02% Shell 0.02% AppleScript 0.78%

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
@efox/emp release Treasure chest
@efox/plugin-vue-2 release EMP Vue v2 plugin
@efox/plugin-babel-react release EMP Babel for React plugin
@efox/eslint-config-react release ESLint React Config
@efox/eslint-config-vue release ESLint Vue Config

👬 Community

📖 Articles & Demos

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

emp's People

Contributors

flyyuan avatar ckken avatar doerme avatar daqixiaoqi avatar movins avatar yellowbeee avatar maxlz1 avatar garyhjy avatar zxgmaster avatar really-abel avatar byoungd avatar ron0115 avatar aov2005 avatar vfiee avatar zjl-me 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.