Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # bower & gulp ## nodejs 설치 ``` Node.js®는 Chrome V8 JavaScript 엔진으로 빌드된 JavaScript 런타임입니다. Node.js는 이벤트 기반, 논 블로킹 I/O 모델을 사용해 가볍고 효율적입니다. Node.js의 패키지 생태계인 npm은 세계에서 가장 큰 오픈 소스 라이브러리 생태계이기도 합니다. ``` [이곳](https://nodejs.org/ko/)에서 다운로드 받아 nodejs 를 설치합니다.  현재 6.9.1 버전과 7.1.0 버전을 설치 할 수 있습니다. 이중에서 안정적인 6.9.1 버전을 설치합니다. ## bower 설치 ``` npm is the package manager for JavaScript. Find, share, and reuse packages of code from hundreds of thousands of developers — and assemble them in powerful new ways. ``` nodejs 를 설치한 이후 `npm` 명령어를 통해서 모듈을 설치합니다. npm은 Node Packaged Modules 의 약자입니다. ``` > npm install bower -g ``` `.bowerrc`, `bower.json` 두개의 파일을 사용합니다. .bowerrc 파일을 통해서 기본 설치 경로를 지정합니다. ```javascript { "directory": "components" } ``` 윈도우에서 .bowerrc 파일 생성은 echo 또는 ren 명령어를 통해서 생성할 수 있습니다. ```bash echo "" > .bowerrc ``` ``` ren bowerrc .bowerrc ``` init 명령어를 통해서 bower.json 파일을 생성합니다 ``` bower init ``` ## gulp 설치 open/bower-gulp.txt Last modified: 2024/10/05 06:15by 127.0.0.1