vue create [project name]
로 프로젝트 생성
메뉴얼로 필요 기능 설치(이때 type script 선택 필수)
설치 시 node 버전에서 오류 발생 가능
npm i -g n 으로 n 설치
n은 node의 버전 관리(툴? 프로그램??)임
n stable으로 안정화 버전 설치
설치 완료 후 파일 구조는 사진과 같음
vue-property-decorator 모듈이 없다는 에러가 나오면
npm i -S vue-property-decorator 로 설치
'프로그래밍 > Vue' 카테고리의 다른 글
Uncaught (in promise) Error: Redirected when going from "from/path" to "to/path" via a navigation guard (0) | 2021.02.22 |
---|