

I work on a team that supports Uptake’s design system.

Just navigating to // <– note the slash at the end of the URL.
REACT DIST UNPKG PATCH
You can specify a semantic version in your unpkg url, including semantic version ranges and qualifiers like ^ and ~ which will source the maximum satisfying sources the latest minor version of react 16 (16.5.2 as of this sources the latest patch version of react 16.4 (which is 16.4.2) This is a pretty amazing service to offer for free. Unpkg partners with cloudfare and heroku to make this automatic distributing possible. Unpkg is a free content delivery network (CDN) that automatically distributes public packages published to npm.
REACT DIST UNPKG HOW TO
Well written bug reports help us help you! Need Help? #įor questions on how to use antd, please post questions to GitHub Discussions using the Q&A tag or using the antd tag.Unpkg: the free CDN for your npm packages If you're new to posting issues, we ask that you read How To Ask Questions The Smart Way and How to Ask a Question in Open Source Community and How to Report Bugs Effectively prior to posting. Feel free to report bugs and issues here. If you'd like to help us improve antd, just create a Pull Request. If your company or product uses Ant Design, let us know here! Contributing #
REACT DIST UNPKG INSTALL
TypeScript #Īntd provides a built-in ts definition, don't install Links # Usage # import from 'antd' Īnd import stylesheets manually: import 'antd/dist/antd.css' // or 'antd/dist/antd.less' Use modularized antd #Īntd supports ES modules tree shaking by default for JS part. Note: you should import react/react-dom/moment before using antd.js. Antd is intended to be used in conjunction with a build tool, such as webpack, which will make it easy to import only the parts of antd that you are using. We strongly discourage loading the entire files this will add bloat to your application and make it more difficult to receive bugfixes and updates. You can also download these files directly from, or unpkg. We provide antd.js antd.css and under antd/dist in antd's npm package. Import in Browser #Īdd script and link tags in your browser and use the global variable antd.

If you are in a bad network environment, you can try other registries and tools like cnpm. We recommend using npm or yarn to install, it not only makes development easier, but also allow you to take advantage of the rich ecosystem of Javascript packages and tooling. You can subscribe to this feed for new version notifications: Installation # Using npm or yarn # We drop support of IE8 after, We drop support of React 15 and IE9/10 after, Version # You can set targets config if you are using umi. Modern browsers and Internet Explorer 11 (with polyfills) 🎨 Powerful theme customization in every detail. 🌍 Internationalization support for dozens of languages. ⚙️ Whole package of design resources and development tools. 🛡 Written in TypeScript with predictable static types. 📦 A set of high-quality React components out of the box. 🌈 Enterprise-class UI designed for web applications.
