easy-forms-core 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,11 +20,11 @@ No depende de ningún framework.
|
|
|
20
20
|
## Instalación
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
bun add easy-forms
|
|
23
|
+
bun add easy-forms-core
|
|
24
24
|
# o
|
|
25
|
-
npm install easy-forms
|
|
25
|
+
npm install easy-forms-core
|
|
26
26
|
# o
|
|
27
|
-
pnpm add easy-forms
|
|
27
|
+
pnpm add easy-forms-core
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
## Uso Básico
|
|
@@ -36,7 +36,7 @@ pnpm add easy-forms
|
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
```javascript
|
|
39
|
-
import 'easy-forms'
|
|
39
|
+
import 'easy-forms-core'
|
|
40
40
|
|
|
41
41
|
const form = document.querySelector('#form')
|
|
42
42
|
|
|
@@ -62,7 +62,7 @@ form.addEventListener('submit', (event) => {
|
|
|
62
62
|
### React
|
|
63
63
|
|
|
64
64
|
```tsx
|
|
65
|
-
import 'easy-forms'
|
|
65
|
+
import 'easy-forms-core'
|
|
66
66
|
|
|
67
67
|
function MyForm() {
|
|
68
68
|
return (
|
|
@@ -81,7 +81,7 @@ function MyForm() {
|
|
|
81
81
|
|
|
82
82
|
```vue
|
|
83
83
|
<script setup>
|
|
84
|
-
import 'easy-forms'
|
|
84
|
+
import 'easy-forms-core'
|
|
85
85
|
|
|
86
86
|
const schema = {
|
|
87
87
|
fields: [
|
package/package.json
CHANGED