docs: remove outdated descriptions of unplugin-element-plus (#18400)

This commit is contained in:
dopamine 2024-09-28 17:28:49 +08:00 committed by GitHub
parent abca9c078b
commit d6756ac767
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -152,19 +152,6 @@ export default defineConfig({
})
```
:::warning
You need to manually import the styles if you're using `unplugin-element-plus` and only used the component API.
Example:
```ts
import 'element-plus/es/components/message/style/css'
import { ElMessage } from 'element-plus'
```
:::
## Starter Template
We provide a [Vite Template](https://github.com/element-plus/element-plus-vite-starter).