## Installation ### npm Installing with npm is recommended and it works seamlessly with [webpack](https://webpack.js.org/). :::tip Note that this doc is for 1.x, so you need the `legacy` tag when installing. ::: ```shell npm i element-ui@legacy -S ``` ### CDN Get the latest version from [unpkg.com/element-ui](https://unpkg.com/element-ui@1.4/) , and import JavaScript and CSS file in your page. ```html ``` :::tip We recommend our users to lock Element's version when using CDN. For example, if you're using Element 1.4.8, you can lock CSS and JavaScript files like this: `https://unpkg.com/element-ui@1.4.8/lib/theme-default/index.css`, `https://unpkg.com/element-ui@1.4.8/lib/index.js`. ::: ### Hello world If you are using CDN, a hello-world page is easy with Element. [Online Demo](https://jsfiddle.net/hzfpyvg6/18/) ```html
Try Element