如题,简单项目,react也是直接用js的,ant-design能和bootstrap那样直接用吗
是想直接引用而不是通过npm?
试试 http://ant.design/dist/antd.js
npm i antd后
import {组件} from 'antd'
也要引用样式
构建独立的 antd.js 和 antd.css
https://github.com/ant-design/antd-init/tree/master/examples/build-antd-standalone