0.0.8 • Published 1 year ago
oxara-component-library v0.0.8
Oxara Component Library
This is a shared component library using React, Vite and Tailwind, the objective of this library is to provide universal components to reduce overhead of development on client projects and increase code quality and test coverage.
Install
yarn
Develop
runs a storybook
yarn storybook
Build
prepares the library for publishing
yarn build
Usage in external Tailwind Projects
This library requires the following peerDependencies
: react
, react-dom
& tailwindcss
You will need to add the following line to the array content in the tailwind.config.js file of your project. This allows the external project the style the components correctly.
// tailwind.config.js
module.exports = {
content: ["./node_modules/oxara-vite-components/**/*.{js,ts}"],
theme: {
extend: {},
},
plugins: [],
};