Views: 82 Ask New Question
I am getting started with Material Components for the Web (MDC-Web), In the documentation i see examples with NPM, But i am actually looking for a CDN to get started. Is Material Components for the Web (MDC-Web) available through any CDN?
Currently MDC-Web is not officially available on CDN (Like its predecessor MDL), But you can find the 3rd party CDNs for MDC-Web like unpkg.com CDN.
Following are the links for css, js files on unpkg.com
Your html code looks like following with the above CDN links
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/material-components-web.min.css"> <script src="https://unpkg.com/[email protected]/dist/material-components-web.min.js"></script>
Answer This Question