This is a component library developed using React, Vite, and Tailwind. It consists of a variety of reusable UI components for React applications.
This library can be installed and used in your projects. Follow these steps to get started:
To install this component library in your project, navigate to your project's root directory in your terminal and run the following command:
npm install @lumigruppen/assets
After installation, you can import and use the components in your React application.
For example, to use the Button
component, you would import it as follows:
import { Button } from "@lumigruppen/assets";
Then you can use the Button
component in your application like this:
<Button>Click me!</Button>
These instructions will get you a copy of the project up and running on your local machine for development purposes.
-
Clone the Repository
Clone the repository onto your local machine.
git clone https://github.com/Sonans/lumi-assets-public
-
Navigate to the directory of the project
cd lumi-assets-public
-
Install Dependencies
Use npm to install the necessary dependencies.
npm install
-
Run the Project
Use the following command to run the project locally.
npm run dev
To create a new version of this project, you can use the npm version
command. This command will update the version number in your package.json
file according to the type of version you specify:
-
Patch Release (
0.0.X
)npm version patch
-
Minor Release (
0.X.0
)npm version minor
-
Major Release (
X.0.0
)npm version major
The npm version
command will also create a version commit and tag. Don't forget to push the commit and tag with:
git push && git push --tags
To publish the new version to npm, you need to create a new release on GitHub. For detailed instructions on how to create a release, visit this guide provided by GitHub.
Create a pull request
OR
Create an issue