Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niiknow/grapesjs-components-farmer
grapesjs plugin to build components for different css framework
https://github.com/niiknow/grapesjs-components-farmer
bootstrap4 formbuilder grapejs
Last synced: about 2 months ago
JSON representation
grapesjs plugin to build components for different css framework
- Host: GitHub
- URL: https://github.com/niiknow/grapesjs-components-farmer
- Owner: niiknow
- License: mit
- Created: 2019-02-25T17:22:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-15T06:25:33.000Z (almost 2 years ago)
- Last Synced: 2024-11-15T05:31:53.811Z (2 months ago)
- Topics: bootstrap4, formbuilder, grapejs
- Language: JavaScript
- Homepage: https://niiknow.github.io/grapesjs-components-farmer/
- Size: 4.71 MB
- Stars: 53
- Watchers: 4
- Forks: 10
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grapesjs-components-farmer
> grapesjs plugin to build components for different css frameworkThe primary objective of this plugin is to build Form Components. Component-farmer is playing on the word farmer/former. We grow/produce components here yall!
## TODO
- [x] Automatically generate form field name.
- [x] Ability to template components for different CSS framework - initially demonstrate/default with Bootstrap5.
- [x] Server-side library for handling form submit: [Lambda Form](https://github.com/niiknow/lambda-form)**Client-side**
- [x] Client-side library for ajax form submit.
- [x] Client-side handling of google recaptcha v3.
- [ ] Client-side handling and validation for Stripe.
- [ ] Client-side Form Fields validation with [indicative](https://github.com/poppinss/indicative)## Development
This library uses the NodeJS library `laravel-mix` to simplify build and packaging.Requirement: Install NodeJS, NPM
Then:
```
git clone https://github.com/niiknow/grapesjs-components-farmer
cd grapesjs-components-farmer
npm install
```or in one command:
```
npm install git+https://github.com/niiknow/grapesjs-components-farmer.git
```To run locally (automatically launch firefox):
```
npm run watch
```To build library for npm publish:
```
npm run build
```This library is available on NPM, to install:
```
npm install grapesjs-components-farmer
```## Why GrapesJS?
We like the fact that grapesjs can provide/separate output for components json, xml code, and html. This allow us to build HTML visually, while saving the code and generating the actual HTML for the user (e.g. in case the browser HTML get injected by browser, some bad extensions, or by a password manager).## Point of Interest
* [Lambda Form](https://github.com/niiknow/lambda-form) - server-side component.
* [SurveyJS](https://surveyjs.io/) - more advance form builder to look into.## MIT