본문 바로가기 메뉴 바로가기

Huzylog

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Huzylog

검색하기 폼
  • 전체보기 (389)
    • 자유 (132)
      • 제품리뷰 (2)
      • 재테크 (42)
      • 부동산 (22)
      • 생활꿀팁 (19)
      • 뉴스 브리핑 (6)
      • 알리테무도전기 (4)
      • 여행-국내 (2)
      • 여행-해외 (0)
      • 건강 (3)
      • 요리 (0)
    • 서버 등 운영체제(OS) (81)
      • Linux (44)
      • Mac (1)
      • Windows (17)
    • 프로그래밍 (20)
      • JAVA (11)
      • MySQL (7)
    • 웹프로그래밍 (130)
      • node.js & Typescript (20)
      • Javascript (30)
      • Python (2)
      • JSP, Spring (8)
      • PHP (20)
      • React (5)
      • VueJs (1)
      • HTML (10)
      • CSS (16)
    • 프로그램 및 소스 (25)
  • 방명록

2016/05/16 (1)
[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
이전 1 다음
이전 다음
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • 휴지넷
TAG
  • 혜택
  • 부동산
  • 재테크
  • 주담대
  • 신혼부부
  • php
  • 아파트매매
  • etf
  • 정부
  • 세금
  • 대출
  • 적금
  • 투자
  • 출산
  • 앱테크
  • 지도
  • 카뱅
  • 금융
  • 연말정산
  • 해외주식
  • 안드로이드
  • remove
  • 고금리
  • 카카오뱅크
  • 2026
  • 내집마련
  • 안과
  • 공제
  • ubuntu
  • 우회
more
«   2016/05   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바