[VueJS] Vue.js프로젝트 생성
2020. 4. 20. 13:59ㆍSTUDY/VueJS
#Vue-CLI 설치
$ npm i -g @vue/cli
$ vue --version
(2020.04.20 기준) @vue/cli 4.2.3
#프로젝트 생성
$ vue create <Project Name>
_
Please pick a preset: Manually select features
_
Check the features needed for your project: Babel, Router, Vuex, CSS Pre-proce
ssors
_
Use history mode for router? (Requires proper server setup for index fallback
in production) Yes
_
Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported
by default): Sass/SCSS (with node-sass)
_
Where do you prefer placing config for Babel, ESLint, etc.? In package.json
_
Save this as a preset for future projects? No
$ cd <Project Name>
$ npm run serve
# 확인
- Local: http://localhost:8080
프로젝트생성 가끔하다보니 헷갈렸다.. 허허허허-
'STUDY > VueJS' 카테고리의 다른 글
[VueJS] axios (0) | 2020.04.23 |
---|---|
[VueJS] 메인 스타일 파일 첨부 (0) | 2020.04.16 |