jquery - How can I integrate formBuilder jquery plugin in my MVC project?
问题描述
Requirement to implement this: I want to add a feature in my page where end user can create a custom form based on his requirement and can save it as a form-profile.
When adding data he should be able to select the form-profile and based on that input fields will be rendered.
Question: All I can see is some npm install and npm run stuff in documentation. I want to include this plugin in my MVC project. How can I do that ? sorry if it sounds silly but I am not a NPM guy so not aware of how that works.
The plugin is : https://github.com/kevinchappell/formBuilder
解决方案
在搜索了一天后,我发现了这个codepen formbuilder 演示,它只使用基本的 js 文件和引导文件,展示了这个插件的基本用法。我能够使用简单的 html 页面创建 POC。
对于日复一日地在 Node.js 上工作的人来说,这可能是一件容易理解的事情,但我认为它会对面临类似问题的人有所帮助。
[codepen formbuilder demo][1]
推荐阅读
- rust - build.rs 不生成文件
- php - 如何操作 Laravel-excel 中的特定单元格?
- python - 我们可以将字典作为参数传递给 python 脚本吗?我正在尝试传递 mydict 参数,其值为 "mydict = {"name": "test"}
- hazelcast - How to update ECS-service forming a Hazelcast cluster group gracefully?
- java - 无法在 Java 中使用 selenium webdriver 自动登录 Gmail
- javascript - 如何使用 javascript 执行器在 selenium 中的特定网页部分向下滚动
- java - Single code for OpenGL ES 2.0 and OpenGL ES 3.0
- reactjs - 组合“React Toastify Redux”反应项目时输入错误
- webpack - 如何在 Rails 6 中使用 webpacker 使减少与 crossfilter2 一起工作
- android - 如何检查蓝牙连接状态?(非配对状态)