Introduce antd components into react to report errors?

1. Antd component error reporting is introduced into react using babel-plugin-import
1. The configuration code is as follows

clipboard.png

:

clipboard.png

:

clipboard.png

Mar.07,2021

import React from "react";

you don't seem to have introduced less-loader.
you can change the value of style to css.
for more information, please see https://github.com/ant-design.

.
Menu