node -vnpm -vnpm i -g npmnpm cache clean -f
- 터미널에서 vue cli 설치하기
npm install -g @vue/cli- 설치 확인
vue --version- Vue 프로젝트 설치
vue create 프로젝트명- Vue 미리보기 띄우기
npm run serve
설치가 완료되면 여러 폴더와 파일이 생성된다.
단 코드를 index.html이 아닌 app.vue에 작성한다.
(app.vue --- html으로 컴파일 ---> index.html으로 보여주기 때문!)