Intel Chip Macbook Pro (2019)
MacOS Monterey 12.6.2
Node.js 공식 홈페이지: https://nodejs.org/en/download/
$ brew install node
$ node -v
v18.14.0
$ npm -v
9.3.1
$ brew install yarn
$ yarn -v
1.22.19
$ npm install -g @vue/cli
# OR
$ yarn global add @vue/cli
권한 관련 오류가 발생한다면 명령어 앞에 sudo 를 붙여서 실행해주면 된다
$ vue --version
@vue/cli 5.0.8
$ vue create <프로젝트 이름>
Vue CLI v5.0.8
? Please pick a preset: Default ([Vue 3] babel, eslint)
? Pick the package manager to use when installing dependencies: Yarn
$ cd <프로젝트 이름>
$ yarn serve
$ npm install -S vue-router
$ vue create <프로젝트 이름>
vue create 명령어 실행 후 Manually select features 선택? Please pick a preset: Manually select features
? Check the features needed for your project:
Babel
Router
Vuex
Linter / Formatter
? Choose a version of Vue.js that you want to start the project with: 3.x
? Use history mode for router? Y
? Pick a linter / formatter config:
ESLint + Standard config
? Pick additional lint features:
Lint on save
? Where do you prefer placing config for Babel, ESLint, etc.?
In package.json
? Save this as a preset for future projects? Y
? Save preset as: 원하는 이름 입력
$ vue add vuetify
vuetify3
가급적 프로젝트 시작 시에 추가해주기
실행 시 화면에 Vuetify가 잘 출력되면 된다!
$ yarn serve
