[Vuejs]-Expresss.js static() not working with subdirectories that are more than one folder deep (it seems)

0👍

So, somehow, I had a space at the end of my components folder name. I figured this out after staring at the screen for a minute, and then just thought to myself, "I wonder if I’m looking at a typo or something and I’m just too dumb to see it". So, I just copied the exact way I typed components in my code, and pasted that value as the folder name. Once I did that, everything worked and loaded as expected.

Tl;dr – Make sure you type things correctly when naming folders.

It’s a Friday -_-

Leave a comment