lan-ui-lib
v1.13.84
Published
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Downloads
10
Readme
This project was bootstrapped with Create React App.
Available Scripts
In the project directory, you can run:
npm start
Runs the library in the development mode. Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
npm run compile
Spits out the a "dist" folder that gets uploaded to npm as the "library"
npm init
Helps rename the NPM package info
npm publish
Publish the new version to NPM.
Update Package on Frontend Application
Run the below command, making sure you use the latest package number"
'npm install [email protected] && yarn add [email protected]'
We need to install node-sass again as it seems to dissapear if you don't
How to use this Library in other projects
npm install lan-ui-lib
In any react component:
import { Button } from "lan-ui-lib"
Use the component like normal
<Button text="This is example"/>
