Repository navigation
Using Material Web in HTML/Express.js #5264
Unanswered
SlimyFrog123
asked this question in
Q&A
Replies: 3 comments 2 replies
|
@material/web is a module package and require bundling, Unpkg only serve script as is, try esm.run by jsdelivr. <script type="module" src="https://esm.run/@material/web@1.x.x/all.js"></script> |
2 replies
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
How could I use Material Web in a plain HTML document or an Express.js app? I have tried UNPKG, but that did not seem to work properly. But then again, I don't really have any experience with UNPKG or projects like this, where you must include the components via JavaScript.
My apologies if this is an amateur question or cannot be done.
Thanks in advance!
All reactions