vuetify项目的创建过程
step1:创建vue项目
a. vue create 工程名
b. Please pick a preset: Manually select features
c. Check the features needed for your project: Babel, Router, Vuex, Linter (目前情况下所选用的)
D. Use history mode for router? (Requires proper server setup for index fallback in production) (Y/n)
--------------y
E. Pick a linter / formatter config: (Use arrow keys)
--------------选择ESLint with error prevention only
F. Pick additional lint features: (Press <space> to select......)
--------------选择 Lint on save
G. Where do you prefer placing config for Babel, PostCSS, ESLint, etc.?
--------------选择In package.json
H. Save this as a preset for future projects? (y/N)
--------------N
I. 等待安装完成
step2:安装vuetify
a. cd 工程名
b. vue add vuetify
c. Choose a preset: (Use arrow keys)
--------------选择Default (recommended)
d. 等待安装完成
step3:最终工程目录结构
step4:启动工程
输入:npm run serve
复制链接到浏览器,出现如下内容表示创建成功。