# vform3-custom
**Repository Path**: pine/vform3-custom
## Basic Information
- **Project Name**: vform3-custom
- **Description**: Variant Form 3 Custom
基于v3.0.10版本进行开发
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 10
- **Created**: 2025-03-04
- **Last Updated**: 2025-03-04
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Variant Form 3 Custom For Vue 3.x
#### 定制化版本
基于v3.0.10版本进行开发
### 安装依赖
```
npm install --registry=https://registry.npmmirror.com
```
### 开发调试
```
npm run serve
```
### 生产打包
```
npm run build
```
### 表单设计器 + 表单渲染器打包
```
npm run lib
```
### 表单渲染器打包
```
npm run lib-render
```
### 浏览器兼容性
```Chrome(及同内核的浏览器如QQ浏览器、360浏览器等等),Firefox,Safari```
### 跟Vue 3.x项目集成
#### 1. 安装包
```bash
npm i vform3-builds
```
或
```bash
yarn add vform3-builds
```
#### 2. 引入并全局注册VForm 3组件
```
import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus' //引入element-plus库
import 'element-plus/dist/index.css' //引入element-plus样式
import VForm3 from 'vform3-builds' //引入VForm 3库
import 'vform3-builds/dist/designer.style.css' //引入VForm3样式
const app = createApp(App)
app.use(ElementPlus) //全局注册element-plus
app.use(VForm3) //全局注册VForm 3(同时注册了v-form-designer和v-form-render组件)
app.mount('#app')
```
#### 3. 在Vue 3.x模板中使用表单设计器组件
```bash
#### 4. 在Vue 3.x模板中使用表单渲染器组件
```html
### 资源链接