@vasakgroup/vue-libvasak 0.0.3 → 0.2.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 ADDED
@@ -0,0 +1,47 @@
1
+ # vue-libvasak
2
+
3
+ Librería de componentes VueJS reutilizables.
4
+
5
+ ## Instalación
6
+
7
+ Primero, construye la librería:
8
+
9
+ ```bash
10
+ npm install
11
+ npm run build
12
+ ```
13
+
14
+ Esto generará los archivos en la carpeta `dist/`.
15
+
16
+ Luego, en tu proyecto Vue:
17
+
18
+ ```bash
19
+ npm install /ruta/a/vue-libvasak/dist
20
+ ```
21
+
22
+ O publica el paquete en un registro npm privado/público y luego:
23
+
24
+ ```bash
25
+ npm install vue-libvasak
26
+ ```
27
+
28
+ ## Uso
29
+
30
+ Importa los componentes que necesites:
31
+
32
+ ```js
33
+ import { SideBar, SideButton, WindowFrame } from 'vue-libvasak';
34
+ ```
35
+
36
+ O registra toda la librería globalmente:
37
+
38
+ ```js
39
+ import * as VasakLib from 'vue-libvasak';
40
+
41
+ app.use(VasakLib);
42
+ ```
43
+
44
+ ## Desarrollo
45
+
46
+ - Construir la librería: `npm run build`
47
+ - Servir para desarrollo: `npm run dev`
File without changes