Giter Site home page Giter Site logo

livaha / react-antd-demo-2019.11 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 6.3 MB

react16.11+antd3.24自定义主题和按需加载都给你配置好了,快拿走吧

Home Page: https://livaha.github.io/react-antd-demo-2019.11/

JavaScript 97.43% HTML 0.49% CSS 2.08%

react-antd-demo-2019.11's Introduction

react16.11+antd按需引入

-- 我是谁 我在哪 我要干嘛 --

前言

每次建立react项目的时候,还需要配置antd使其按需加入,还得事先暴露出webpack,对其进行配置less和主题等。

本项目通过已经配置好的webpack按需加载antd,并在打包环境中压缩了代码,去除了不必要的.map文件,不喜欢搭框架的同学可以下载下来直接写业务代码哦!

本文章不介绍webpack配置过程,只是简单说明使用流程。如果想知道如何配置的,可以留言哦!

项目版本

react16.11+antd3.24+webpack4.41

使用方法

git clone https://github.com/livaha/react-antd-demo-2019.11.git
cd react-antd-demo-2019.11
yarn
yarn start(启动服务)
yarn build(打包)

简单项目演示

https://livaha.github.io/react-antd-demo-2019.11/

react-antd-demo-2019.11's People

Contributors

livaha avatar

Watchers

James Cloos avatar  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.