Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
formvuelate
Advanced tools
Visit FormVueLate 3.0's full documentation for more detailed information and examples.
FormVueLate is a zero dependency library that allows you to generate schema-driven forms with extreme ease.
The schema that you use for your form can be as flexible as you need it to be, it can be modified at run-time with an expected reactive result, and can even be fetched directly from you backend’s API.
Important
FormVueLate is a bring-your-own-components library!
We do not provide any base components for your to build your forms. There are numerous component libraries out there that do a great job of providing carefully constructed components for you to use, and FormVueLate does a great job at allowing you to bring those external components to your forms, or even crafting your own.
To add FormVueLate to your project, start by installing the package through your favorite package manager.
yarn add formvuelate
// OR
npm install formvuelate
Now that you have the package in your project, import
it to your component.
import { SchemaForm, useSchemaForm } from 'formvuelate'
The SchemaForm
requires one prop
, schema
, which is the meta-data of your form. You must also import the useSchemaForm
composable which we will use in our setup function to initialize the form's model
where the user's data is kept.
<template>
<SchemaForm :schema="mySchema" />
</template>
<script>
import { ref } from 'vue'
import { SchemaForm, useSchemaForm } from 'formvuelate'
export default {
components: { SchemaForm },
setup () {
const formModel = ref({})
useSchemaForm(formModel)
const mySchema = ref({
// Schema here
})
return {
mySchema
}
}
}
</script>
SchemaForm
will automatically update the state within your formModel
when your components update.
A mapping and replacement plugin to parse complex schemas into FormVueLate ready structure.
Easily incporate Vee-Validate powered validations into your forms.
Easily incorporate Vuelidate powered validations into your forms.
Marina Mosti |
Abdelrahman Awad |
Special thanks to these folks which have provided invaluable contributions to the project.
This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
3.9.1 (2022-05-20)
Note: Version bump only for package formvuelate-monorepo
FAQs
Schema Form Generator
The npm package formvuelate receives a total of 1,524 weekly downloads. As such, formvuelate popularity was classified as popular.
We found that formvuelate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.