-
[Vue.js] 프로젝트 생성하기공부 2023. 3. 20. 00:51
설치 항목
- node.js
- vue
npm install -g @vue/cli
개발에 유용한 Visual Studio Code용 Extension 설치
프로젝트 생성하기
vue create {프로젝트 이름}
에러 발생 (The template root requires exactly one element.)
👉 template 부분의 전체 내용을 <div></div> 태그로 감싸주면 됨
웹에서 vue.js 실행하기
npm run serve