Can I add an external CSS file in node.js using EJS?
I attempted to do so, but encountered difficulties:
app.use('/static', express.static('/view'))
I included the CSS in EJS like this:
<link rel="stylesheet" type="text/css" href="materialize.scss">
This error keeps appearing:
Refused to apply style from 'http://localhost:8081/static/materialize.scss' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.