Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nurriyad/form-builder
Generate from in a minutes
https://github.com/nurriyad/form-builder
form form-ubuilder vue
Last synced: about 2 months ago
JSON representation
Generate from in a minutes
- Host: GitHub
- URL: https://github.com/nurriyad/form-builder
- Owner: nurRiyad
- Created: 2024-08-22T17:45:41.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-16T18:58:10.000Z (4 months ago)
- Last Synced: 2024-09-17T04:19:46.911Z (4 months ago)
- Topics: form, form-ubuilder, vue
- Language: Vue
- Homepage: https://formbuilder-vue.vercel.app/
- Size: 346 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Form-Builder 🏗️(under rapid construction)
Generate from in a minutes
## Todo
#### Overall
- [x] Initiate a basic vue project with vitest cypress vue pinia and router
- [x] Create some base element like input, select,radio
- [x] Some derived from like single-step form & multi-step-form
- [x] Add proper if condition for base element that read if logic from fun and apply proper reactivity
- [x] Remove key from form when element is unmounted
- [x] Merge model value with the generated value
- [x] Multi step from process
- [x] Add function and computed both feature for if conditions
- [x] Add other other basic property in select radio checkbox text area
- [x] Check if create-ui, initial-value and fun can load from api call
- [x] Add watcher fo watch some components value
- [x] Rerun when watcher changes
- [x] Component level fetch
- [x] Extract the function and call properly
- [x] Save the value somewhere to properly use this
- [x] From Level fetch
- [x] Extract the function and call properly
- [x] Save the value somewhere to properly use this
- [x] Add slots for form actions
- [x] Remove lodash from dependency
- [x] Remove same type of code from base components
- [x] Basic Validation
- [ ] Validation for derived element
- [ ] Show list of multi step form
- [ ] Show proper loader when loading
- [x] Remove lodash.get and lodash.set
- [ ] Create Platform UI Credential create form
- [ ] Create Platform UI Credential Edit form## Recommended IDE Setup
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
## Type Support for `.vue` Imports in TS
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
## Customize configuration
See [Vite Configuration Reference](https://vitejs.dev/config/).
## Project Setup
```sh
npm install
```#### Compile and Hot-Reload for Development
```sh
npm run dev
```#### Type-Check, Compile and Minify for Production
```sh
npm run build
```#### Run Unit Tests with [Vitest](https://vitest.dev/)
```sh
npm run test:unit
```#### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
```sh
npm run test:e2e:dev
```This runs the end-to-end tests against the Vite development server.
It is much faster than the production build.But it's still recommended to test the production build with `test:e2e` before deploying (e.g. in CI environments):
```sh
npm run build
npm run test:e2e
```#### Lint with [ESLint](https://eslint.org/)
```sh
npm run lint
```