Answer the question
In order to leave comments, you need to log in
How to specify path to css in ejs?
The top is the main folder, the bottom is the app folder.
In app/index.js I write
app.set(express.static(path.join(__dirname, 'views')));
/style/style.css
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question