Generate from in a minutes
- Initiate a basic vue project with vitest cypress vue pinia and router
- Create some base element like input, select,radio
- Some derived from like single-step form & multi-step-form
- Add proper if condition for base element that read if logic from fun and apply proper reactivity
- Remove key from form when element is unmounted
- Merge model value with the generated value
- Multi step from process
- Add function and computed both feature for if conditions
- Add other other basic property in select radio checkbox text area
- Check if create-ui, initial-value and fun can load from api call
- Add watcher fo watch some components value
- Rerun when watcher changes
- Component level fetch
- Extract the function and call properly
- Save the value somewhere to properly use this
- From Level fetch
- Extract the function and call properly
- Save the value somewhere to properly use this
- Add slots for form actions
- Remove lodash from dependency
- Remove same type of code from base components
- Basic Validation
- Validation for derived element
- Show list of multi step form
- Show proper loader when loading
- Remove lodash.get and lodash.set
- Create Platform UI Credential create form
- Create Platform UI Credential Edit form
VSCode + Volar (and disable Vetur).
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 to make the TypeScript language service aware of .vue
types.
See Vite Configuration Reference.
npm install
npm run dev
npm run build
Run Unit Tests with Vitest
npm run test:unit
Run End-to-End Tests with Cypress
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):
npm run build
npm run test:e2e
Lint with ESLint
npm run lint