[node.js] adding .css file to ejs
Your problem is not actually specific to ejs. 2 things to note here style.css is an external css file. So you dont need style tags inside that file. It should only contain the css. In your express app, you have to mention the public directory from which you are serving the static files. Like css/js/image it can be done byapp.use(express.static(__dirname + '/public')); assuming you put the css fi..
웹프로그래밍/node.js & Typescript
2016. 5. 16. 09:38
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- ubuntu
- 앱테크
- 카뱅
- 혜택
- 적금
- 대출
- 투자
- 공제
- 출산
- 금융
- 고금리
- 우회
- php
- 내집마련
- 재테크
- 지도
- 안과
- 주담대
- 2026
- 안드로이드
- 아파트매매
- etf
- 세금
- 연말정산
- remove
- 신혼부부
- 부동산
- 카카오뱅크
- 해외주식
- 정부
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 |
글 보관함