Open atilafassina opened 5 days ago
I think the error occurs when cosmiconfig tries to load the config, which we don't really need, we just need the filepath
You can create the mystic.config.json file manually, you won't face issues after that
{
"framework": "tailwind",
"configPath": "tailwind.config.ts",
"outputPath": "./src/components/mystic-ui/",
"tailwind": {
"aliases": {
"utils": "@/lib/utils"
}
}
}
thanks for that!! i'll try it out asap. I've been manually installing for now. Great work!!
Just ran
pnpm dlx @mystic-ui/cli init
in my project and gotright after the Welcome message. I already have tailwind installed, but my config is
tailwind.config.ts
and I'm usingtailwindcss/defaultTheme
there with no issues... 🤔