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

Huzylog

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

Huzylog

검색하기 폼
  • 전체보기 (519) N
    • 자유 (262) N
      • 제품리뷰 (2)
      • 재테크 (100) N
      • 부동산 (23)
      • 생활꿀팁 (21)
      • 뉴스 브리핑 (75) N
      • 알리테무도전기 (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
  • 부동산시장
  • 내집마련
  • 부동산
  • 코스피
  • 국제정세
  • 증안펀드
  • 뉴욕증시
  • 세금
  • 부동산전망
  • 코스피시황
  • 주식시황
  • 사회이슈
  • 환율전망
  • 적금
  • 금융
  • 금리인상
  • 원달러환율
  • 글로벌경제
  • 주담대
  • 나스닥
  • 사건사고
  • 시사정치
  • 부동산정책
  • 환율
  • 고금리
  • 코스닥
  • 증시전망
  • 재테크
  • 트럼프관세
  • SK하이닉스
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

티스토리툴바