next js 시작하기
타입 스크립트 버전으로 설치 next js (ts 버전) 설치 npx create-next-app 앱이름 --ts # or yarn create next-app 앱이름 --typescript 작동 해당 앱폴더로 이동하여 npm dev #or yarn dev 상대경로 -> 절대경로로 바꾸기 tsconfig.json 파일에 아래를 추가 { [기타내용], "compilerOptions": { [기타내용], "baseUrl": ".", "paths": { "@/*": [ "./*" ] } }, [기타내용], } mobx 설치 yarn add mobx 또는 npm install --save mobx 설치 후 작동이 안될 경우 .next / node_modules / package-lock.json 을 지우고 ya..