UNPKG

libreria-astro-lefebvre

Version:

Librería de componentes Astro, React y Vue para Lefebvre

47 lines (29 loc) 862 B
# libreria-astro-lefebvre Instrucciones: - La libreria en npm está en: https://www.npmjs.com/package/libreria-astro-lefebvre - Para instalar: ``` npm i libreria-astro-lefebvre ``` Hacer un link en librería local: ``` npm link ``` Usar librería local: ``` npm link nombre-librería ``` Dejar de usar librería local: ```npm unlink --no-save nombre-librería``` Login en npm: ```npm login --auth-type=legacy``` Publicar en npm: ```npm publish --access public``` Cuenta nodejs: dretamal P...a Hay que hacer npm install y reiniciar server Correr aplicación node: ``` npm run dev ``` Compilar: ```npm run build``` Para importar en proyecto astro y usar componentes: ```import { Button, Button2, Button3} from 'libreria-astro-lefebvre';``` Para listar componentes en Vue: ```import { listComponents} from 'libreria-astro-lefebvre/list';```