DEV Community 👩‍💻👨‍💻

Discussion on: Let's implement a Theme Switch 🎨 like the Angular Material Site

Collapse
stephaneeybert profile image
Stephane Eybert

You can't reference a file in the node_modules directory. You could copy the 4 themes under your src directory.

Collapse
mdamink profile image
M-Damink

@stephaneeybert What do you mean by this exactly? I also have a mime error. I tried A LOT of possible solutions but I can't get it to work. In my console it says a 404 error..