简体   繁体   中英

How can I get CSS will to work in EJS file

Im doing a small project and trying to get CSS working in ejs/node. I dont know why it wont load.

[enter image description here][1]

Also having a massive issue with getting images to load.

one file example - -->h

Are you sure you are calling the template engine?

app.use(express.static('public'));

Did you call static files like this. The name "public" may change depending on your project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM