react配置antd组件库

1.npm install --save antd

2.在组件中引入

import React,{Component} from 'react'

import './com1.css'

import {Button} from "antd";

import 'antd/dist/antd.css'

import { Carousel } from 'antd';

3.组件中使用

 

<Button type="danger">

danger

Button>

 

react路由react-router

状态管理redux

动画库react-addons-css-transtion-group

组件库antd

你可能感兴趣的:(react配置antd组件库)