react-vite-component-library-test
v0.0.1
Published
<img width="500" alt="ViteReactComponentLibrary" src="https://media.licdn.com/dms/image/D4D12AQGzC4Mpwg1_nA/article-cover_image-shrink_720_1280/0/1702548150078?e=2147483647&v=beta&t=QI41vSuOPnIw0QOT26ViqhQ8AkgCFPoq4e_0L5fIaPY">
Downloads
3
Readme
A simple (demo) react component library
Installation
You can install it with npm (don't expect much fanciness):
npm i @zchristy/react-vite-component-library-test
Usage
import { Button, Card } from '@zchristy/react-vite-component-library-test';
Test Componentes Locally:
Fork or Clone Repo
Install npm packages
> npm i
- Creates dist/ directory
> npm run build
- Starts up local client server, viewable on browser. (Need to have ran
npm run build
before starting dev server)
> npm run dev
Using npm link
npm link
is useful for testing/developing your package. Npm will
create a symlink to your package in node_modules
, any changes made to the linked package are readily available.