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

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

티스토리툴바