📜  由于 mime 类型而未加载样式表 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:34.403000             🧑  作者: Mango

代码示例1
put your .css file in a folder called public
in your app.js file add the following code:

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