Elementui怎样部署及使用
要部署和使用ElementUI,需要依照以下步骤进行操作:
npm install element-ui
还是
yarn add element-ui
import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
Primary Button
这样就完成了ElementUI的部署和使用。你可以根据ElementUI的文档,进一步了解和使用其它的组件和功能。
TOP