Vue + Element UI
文章目录
切换淘宝镜像。
npm install -g cnpm --
registry=https://registry.npm.taobao.org- 安装 element ui
npm i element-ui -S- 项目中引入添加组件
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)切换淘宝镜像。
npm install -g cnpm --
registry=https://registry.npm.taobao.orgnpm i element-ui -Simport ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论