# formkit-element-plus
**Repository Path**: zy849082187/formkit-element-plus
## Basic Information
- **Project Name**: formkit-element-plus
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-12-11
- **Last Updated**: 2024-12-11
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# FormKit element plus
Element plus for FormKit.
Most of the components are based on Element plus, attributes directly pass to the element plus component.
## Preview
# install
This library require Element plus and FormKit to be installed.
```shell npm i element-plus npm i @formkit/vue npm i @formkit/i18n npm i formkit-element-plus ``` ## Setup direct setup in main.ts ```typescript import { plugin, defaultConfig } from '@formkit/vue' import { ElementPlusInputs } from "formkit-element-plus"; import { zh } from '@formkit/i18n' import '@formkit/themes/genesis' const app = createApp(App); app.use(plugin, defaultConfig({ // set language locales: { zh }, locale: 'zh', inputs: { ...ElementPlusInputs } })) ``` ## Usage ### Basic
```typescript
```html
Custom template of select options
```html
```html
```html
```html
```html
{{ data }}
```html
{{ data }}
```html