Skip to content
Sign upLog in
← Back to Community
How do I import stuff to my html, css and JavaScript repl?
Profile icon
aflacc

I was bored and decided to follow some of the Material Design guide things for fun and it wants me to run this:
npm install @material/button
Heres the problem. I can't do that. I don't know where I'm supposed to do that or where I need to go to import it. Thanks

Voters
Profile icon
aflacc
Comments
hotnewtop
Profile icon
Coder100

don't use npm, use cdnjs if you are doing HTML and stuff, I made a template: https://replit.com/@Coder100/template-Template-Materialize

Profile icon
ch1ck3n

use a nodejs repl for that

Profile icon
aflacc

then how do i use html and stuff with it

@ch1ck3n

Profile icon
kkwoo

@aflacc
I undertook this adventure and succeeded to serve html and js from a nodejs replit using vite which was installed with yarn. I made some subpar doco for myself at https://replit.com/@kkwoo/Vanilla-Vite-from-Scratch which might give you some inspiration. Good luck!