@potidev/react-vulpix-pack
v0.6.5
Published

Maintainers
Readme
Potidev - React Vulpix Pack
Description
TODO...
Setup
Setup Shadcn/ui in Vulpix Pack
- Install Shadcn/ui dependencies:
npm install tailwindcss-animate class-variance-authority clsx tailwind-merge lucide-react npm install -D tailwindcss postcss autoprefixer- Configure the path aliases in your
tsconfig.jsonfile.
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./*"]
}
}
}Configure
tailwind.config.js. Here's what ours file looks like: tailwind.config.js.Configure
postcss.config.js. Here's what ours file looks like: postcss.config.js.Add the following to your global.css file and import. You can learn more about using CSS variables for theming in the theming section of shadcn ui doc.
Add this line in your global.css to tailwind detect the classes from vulpix like this documentation:
@source "../node_modules/@potidev/react-vulpix-pack";To use dark-mode, follow the shadcn-ui documentation.
In the original shadcn-ui documentation, there are other steps that are not necessary when using the vulpix pack. That's it.
