一,Vue CLI 3 安装启动
cd my-project
二、element-ui 安装
vue add element
会出现以下提示
? How do you want to import Element? (Use arrow keys)
为了方便,选择第一个全局引用:fully import
- ? Do you wish to overwrite Element's SCSS variables? Yes
- Choose the locale you want to load zh-CN
启动
npm run serve