Coder Social home page Coder Social logo

x-neuron / antdfront Goto Github PK

View Code? Open in Web Editor NEW
201.0 6.0 49.0 799 KB

Antdfront is a set of multi tab experimental react microfrontend template

License: MIT License

JavaScript 43.29% HTML 0.93% Vue 1.33% Less 0.14% TypeScript 54.32%
antd microfrontend qiankun admin webpack5 webpack react scoffold recoil template

antdfront's Introduction

English | 简体中文

AntdFront

Antdfront is a set of multi label experimental react microfrontend template based on ant design, embracing react hook, pure function, realizing button level access, using the next generation of data flow and micro front-end framework Qiankun.

If you need a full application permission instance of the front end, please refer to: x-plat

  • Native: Built with react hook, webpack, babel, antd and other native components, supports PWA
  • Route: React-route6 and pure Native components implement react multi tabs
  • Minimal data flow: Integrate the next-generation state manager recoil for React
  • Micro Frontend: Use qiankun to implement micro frontend

Installation

1: gitclone https://github.com/X-neuron/antdFront.git
2: npm i or yarn
3: npm run dev

Technology choice and motivation

router

https://zhuanlan.zhihu.com/p/354111579

i18n internationalization

https://zhuanlan.zhihu.com/p/291202582

data-flow:

https://zhuanlan.zhihu.com/p/268890371

motivation:

https://zhuanlan.zhihu.com/p/141738683

Thanks:qiujie8092916 offer the typescript edition

antdfront's People

Contributors

qiujie8092916 avatar ready-research avatar x-neuron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

antdfront's Issues

How to reduce the bundle size?

Is there any way to reduce the bundle size? In the debug version it is producing 4MB+ and in release version almost 1MB+

How to use React, AntD etc. from the CDN (in the <head> tag of HTML) rather than bundling with webpack?

点击后会报错

image
每点击左边的选项控制台就会报错,有时候页面也会报错,请问是什么原因

【BUG】状态保存

主应用里的页面状态保存没问题
子应用里的页面没有状态保存,会重新加载子应用页面

npm run dev 运行不起来

× Webpack
Compiled with some errors in 46.54s

(node:24084) [DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS] DeprecationWarning: optimizeChunkAssets is deprecated (use Compilation.hook.processAssets instead and use o
ne of Compilation.PROCESS_ASSETS_STAGE_* as stage option)
npm run dev 运行不起来 一直停留在此状态

项目本地启动报错

项目本地报错,npm run dev ,注释对应模块,后续有其他模块报相同错误。mac,node 14.17.5
image
image

当tab遇到qiankun

请问有项目结合qiankun的demo吗,保存不同微应用的标签页状态

Trying to get in touch regarding a security issue

Hey there!

I'd like to report a security issue but cannot find contact instructions on your repository.

If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

Thank you for your consideration, and I look forward to hearing from you!

(cc @huntr-helper)

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.