@promodev/form-builder-vue3 0.1.3 → 0.4.0
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 +7 -6
- package/dist/form-builder-vue3.js +7961 -7349
- package/dist/form-builder-vue3.umd.cjs +67 -67
- package/dist/widget/form-builder-vue3.iife.js +67 -66
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @promodev/form-builder-vue3
|
|
2
2
|
|
|
3
3
|
Portage **Vue 3 / TypeScript** fidèle de `lucien-form-builder` : moteur de rendu des
|
|
4
4
|
formulaires de participation Houston Promo, avec validation (vee-validate 4),
|
|
@@ -10,17 +10,18 @@ Deux façons de l'intégrer : **module** (bundler) ou **CDN** (widget autonome).
|
|
|
10
10
|
|
|
11
11
|
## Module (bundler / npm)
|
|
12
12
|
|
|
13
|
-
> Paquet **
|
|
14
|
-
>
|
|
13
|
+
> Paquet **public** publié sur **npm** à chaque fusion dans `main` qui le modifie. Le hook
|
|
14
|
+
> `pre-commit` augmente le numéro de patch à chaque commit qui touche `apps/form-builder-vue3/`
|
|
15
|
+
> (une montée de version faite à la main dans le même commit est conservée).
|
|
15
16
|
|
|
16
17
|
```bash
|
|
17
|
-
npm install @
|
|
18
|
+
npm install @promodev/form-builder-vue3
|
|
18
19
|
```
|
|
19
20
|
|
|
20
21
|
```ts
|
|
21
22
|
import { createApp } from "vue";
|
|
22
|
-
import { HoustonForm } from "@
|
|
23
|
-
import "@
|
|
23
|
+
import { HoustonForm } from "@promodev/form-builder-vue3";
|
|
24
|
+
import "@promodev/form-builder-vue3/style.css"; // opt-in — retirez pour styler vous-même
|
|
24
25
|
|
|
25
26
|
createApp({
|
|
26
27
|
components: { HoustonForm },
|