@dropi/ui 0.1.54 → 0.1.55
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/package.json +1 -1
- package/readme.md +12 -1
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -21,7 +21,18 @@ Si estás en un proyecto de React o Angular, la forma más rápida de configurar
|
|
|
21
21
|
npx @dropi/ui setup
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Este comando
|
|
24
|
+
Este comando detecta tu framework y configura automáticamente:
|
|
25
|
+
- Instala `@dropi/ui` y `@dropi/ui-react` / `@dropi/ui-angular`
|
|
26
|
+
- Inyecta el CSS en `main.tsx` o `styles.scss`
|
|
27
|
+
- Agrega el script de `lottie-player` en `index.html` (vía CDN)
|
|
28
|
+
- Copia/symlink los assets de íconos y lottie a `public/`
|
|
29
|
+
- Configura `vite.config.ts` (React/Vue) o `next.config.ts` (Next.js SSR)
|
|
30
|
+
|
|
31
|
+
> [!NOTE]
|
|
32
|
+
> El CLI **no instala** `dropi-lib-icons`, `@stencil/react-output-target` ni `@lottiefiles/lottie-player` como paquetes npm. Instálalos manualmente después:
|
|
33
|
+
> ```bash
|
|
34
|
+
> yarn add dropi-lib-icons @stencil/react-output-target @lottiefiles/lottie-player
|
|
35
|
+
> ```
|
|
25
36
|
|
|
26
37
|
---
|
|
27
38
|
|