sudo npm install -g @vue/cli
vue create [프로젝트 이름]
Use https://registry.npmmirror.com for faster installation? : Y
Manually select 선택
space로 원하는 옵션 선택.
Vue2 선택
Use class-style component syntax? : Y
Use Babel alongside TypeScript : Y
Use history mode for router?
Pick a linter / formatter config: ESLint with error prevention only
Pick additional lint features : Lint on save
Where do you prefer placing config for Babel, ESLint, etc.? : In dedicated config files
Save this as a preset for future projects?
Pick the package manager to use when installing dependencies: Use Yarn
완료
yarn serve
정상적으로 서버가 실행되면 URL이 나타난다.
vue add vuetify
Choose a preset: Vuetify 2 - Configure Vue CLI (advanced)
Use a pre-made template? (will replace App.vue and HelloWorld.vue) Y
Choose a preset: Vuetify 2 - Configure Vue CLI (advanced)
Use a pre-made template? (will replace App.vue and HelloWorld.vue) Yes
Use custom theme? Yes
Use custom properties (CSS variables)? Yes
Select icon font Material Design Icons
Use fonts as a dependency (for Electron or offline)? Yes
Use a-la-carte components? Yes
Select locale Korean
error An unexpected error occurred: "https://registry.npmmirror.com/vuetify/-/vuetify-2.6.12.tgz: Request failed \"504 Gateway Timeout\"".
{
...
"noImplicitAny": false,
"types": ["webpack-env", "vuetify"],
...
}
yarn serve