![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
ng-form-build
Advanced tools
el-plus-form 是一个通用的、基于 vue3, ts 和 element-plusel 的表单解决方案,它大大的简化了表单的代码以及逻辑控制,完全可以通过 json 数据,控制整个表单的业务逻辑。该项目的基础版本,来源于张超杰大佬的vue-ele-form
https://github.com/KDJack/el-plus-form
生成器在线地址: https://github.com/dream2023/f-render
npm install el-plus-form --save # yarn add el-plus-form
import { createApp } from 'vue'
import App from './App.vue'
import ElPlusForm from 'el-plus-form'
// uploadImgAction 为图片上传的请求地址,如果没有该配置项,会导致图片上传组件不可用!!!
createApp(App).use(ElPlusForm, { uploadImgAction: 'http://www.xxxxx/xxx/xxx/xx/uplaod' })
<el-plus-form v-bind="formConfig" :formData="formData"></el-plus-form>
setup() {
const state = reactive({
formData: {},
formConfig: {
formDesc: {
categoryNo: { type: 'input', label: '编号', require: true },
displayName: { type: 'input', label: '名称', require: true },
enabled: { type: 'switch', label: '启用状态', rules: 'select', default: 1 },
iconName: { type: 'input', label: '图标' },
imgUrl: { type: 'upimg', label: '图片', limit: 3 },
introductionRatio: { type: 'nbInput', label: '引进比率' },
operatingRatio: { type: 'nbInput', label: '运营比率' },
preferentialRatio: { type: 'nbInput', label: '优惠比率' },
salesRatio: { type: 'nbInput', label: '销售比率' },
serviceRatio: { type: 'nbInput', label: '服务比率' },
showOrder: { type: 'nbInput', label: '显示顺序' }
},
order: ['displayName', 'introductionRatio', 'categoryNo', 'operatingRatio', 'enabled', 'preferentialRatio', 'iconName', 'salesRatio', 'imgUrl','serviceRatio', 'showOrder'],
column: 2
}
})
return { ...toRefs(state) }
}
https://dream2023.github.io/vue-ele-form/
https://www.yuque.com/chaojie-vjiel/vbwzgu
*请将项目 VUE 版本更改至 3.0.5,不然会出现神奇的问题
当前版本还处于开发中,版本还不稳定,偶尔会更新。建议等到 1.x 版本后再使用...
该项目属于个人项目,维护的时间和精力有限,如有问题可以提 ISSUES,同时非常欢迎你提交 PR
FAQs
采用Vue3 + TS,封装的element-plus数据驱动表单组件
The npm package ng-form-build receives a total of 2 weekly downloads. As such, ng-form-build popularity was classified as not popular.
We found that ng-form-build demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.