ExpressJs to configure html and css pages

I am new to ExpressJs. I tried to use html and css when creating the application. But there is always a problem with pipelines. Someday css could not be loaded, and sometimes it does not update, even if I restart the server. I used the static feed method. Still could not understand the problem. Please help me with this.

+4
source share
1 answer

here is the solution

 install npm serve-static

this should solve the problem

+3
source

All Articles