V
V
vovashaplin2020-06-08 22:13:44
React
vovashaplin, 2020-06-08 22:13:44

How to include ant-design with webpack?

How to include ant-design with webpack?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2020-06-08
@Casufi

It's right there in the documentation
npm install antd

import { DatePicker } from 'antd';

ReactDOM.render(<DatePicker />, mountNode);

import 'antd/dist/antd.css';
What is the question then?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question