问题
Is it possible to use react-select directly from the browser without bundlers nowadays?
The most recent version that I found to be able to do so was 2.1.2: How to import from React-Select CDN with React and Babel?
They used to provide react-select.min.js
in the umd format back then.
Nowadays they have react-select.browser.esm.js
and react-select.browser.cjs.js
(https://unpkg.com/browse/react-select@3.1.0/dist/), but I couldn't get any of those working from the browser.
来源:https://stackoverflow.com/questions/62842565/is-it-possible-to-use-react-select-in-the-browser-from-the-cdn