安装 
使用包管理器 
我们建议您使用包管理器(如 NPM、Yarn 或 pnpm)安装 Element Plus,然后您就可以使用打包工具,例如 Vite 或 webpack。
选择一个你喜欢的包管理器 
shell
$ npm install element-plus element-plus-x --saveshell
$ yarn add element-plus element-plus-xshell
$ pnpm install element-plus element-plus-x如果你的网络环境不佳,推荐使用 cnpm 或使用 npmmirror
shell
npm config set registry https://registry.npmmirror.com浏览器直接引入 
element-plus-x 不支持直接通过浏览器的 HTML 标签导入 Element Plus X。
所以推荐通过包管理器安装,配合打包工具使用,请阅读下一节:快速上手。
TIP
element-plus-x组件库是element-plus的扩展库,强依赖其内部的源代码,比如element-plus中的utils工具类函数,然而element-plus官方 并没有把其工具类抛出。所以element-plus-x访问不到全局的ElementPlus对象中的某些工具类函数。