티스토리 뷰
npm, yarn을 설치했다면, bootstrap theme 변경을 위한 초간단 테스트를 할 수가 있다.
#!/bin/bash
mkdir bootstrap-customizing
cd bootstrap-customizing
yarn init -y
yarn add bootstrap node-sass
mkdir -p public/css
yarn node-sass --recursive --output public/css \
--source-map true --source-map-contents true \
node_modules/bootstrap/scss
bootstrap은 scss로 관리되고 있으므로 yarn(npm)으로 받아다가 바로 컴파일 해 볼 수가 있다. 위의 예는 directory 만들고, 빠르게 node package 를 초기화한 다음, bootstrap과 node-sass 컴파일러를 받은 후 directory to directory로 scss 파일을 css로 바꾸는 방법이다.
반응형
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 덴드롱
- MySQL
- 구근
- tattertools
- ssh
- SVN
- 수선화
- 클레로덴드럼
- OpenID
- writely
- Subversion
- JavaScript
- TCP/IP
- 디버깅
- VIM
- macosx
- 오픈소스
- nodejs
- BlogAPI
- 식물
- 퀴즈
- SSO
- Tattertools plugin
- Linux
- 커피
- 대화
- perl
- 킹벤자민
- url
- 벤자민
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함