mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 09:20:51 +08:00
f12000f9c2
* feat: add website * chore: fix
1.3 KiB
1.3 KiB
Installation
npm
Installing with npm is recommended and it works seamlessly with webpack.
npm i element-ui -S
CDN
Get the latest version from unpkg.com/element-ui , and import JavaScript and CSS file in your page.
<!-- import CSS -->
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<!-- import JavaScript -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
:::tip We recommend our users to lock Element's version when using CDN. Please refer to unpkg.com for more information. :::
Hello world
If you are using CDN, a hello-world page is easy with Element. Online Demo
If you are using npm and wish to apply webpack, please continue to the next page: Quick Start.