4.2.2 • Published 6 months ago
@nx-extend/shadcn-ui v4.2.2
@nx-extend/shadcn-ui
Nx plugin for working with shadcn/ui.
Setup
Install
npm install -D @nx-extend/shadcn-ui
nx g @nx-extend/shadcn-ui:initAfter installation update your APPs tailwind.config.ts to this:
import { buildConfig } from '../libs/<lib directory>/src/tailwind.config'
export default buildConfig(__dirname)If you are using Remix you can import global.css directly like:
import stylesheet from '@<scope>/<utils lib name>/global.css'
export const links: LinksFunction = () => [
{ rel: 'stylesheet', href: stylesheet }
]Usage
Add
nx add-component <ui lib name> buttonAll all components
nx add-component <ui lib name>Updating the theme
The generated global.css uses the default shadcn/ui theme.
Using the shadcn/ui theme editor, you can effortlessly apply a different theme.
Explore available themes here: https://ui.shadcn.com/themes
4.2.2
6 months ago
4.1.0
1 year ago
4.2.1
1 year ago
4.1.2
1 year ago
4.2.0
1 year ago
4.1.1
1 year ago
4.0.1
1 year ago
3.1.5
1 year ago
3.1.4
1 year ago
4.0.0
1 year ago
3.1.3
1 year ago
3.1.2
1 year ago
3.1.1
1 year ago
3.1.0
1 year ago
3.0.1
1 year ago
3.0.0
1 year ago
2.0.3
2 years ago
2.0.2
2 years ago
2.0.4
1 year ago
2.0.1
2 years ago
2.0.0
2 years ago
1.1.0
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.2.2
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago