@chroniconl/ui
v0.0.5-alpha.14
Published
[![MIT License](https://img.shields.io/badge/license-MIT-yellow.svg)](<[./LICENSE](https://github.com/matthewbub/chroniconl-cms/blob/main/LICENSE)>)
Downloads
19
Readme
@chroniconl/ui
This is pretty much a consolidated directory of https://ui.shadcn.com/ components that we're using in Chroniconl.
I'd recommend using https://ui.shadcn.com/ itself it you're starting a new project.
Setup
First install the package
pnpm add @chroniconl/ui
Since the components within are built on top of TailwindCSS, you will need to include the @chroniconl/ui
package in your tailwind.config.js
file.
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
// Add the @chroniconl/ui package to the content array
'./node_modules/@chroniconl/ui/**/*.{js,jsx}',
],
}
Development
To publish a new version of the package, run the following commands:
pnpm run build
node build/bumpAlpha.js
npm publish --access public