qwik-ui
qwik-ui copied to clipboard
class-variance-authority is not installed by the CLI
As Is
Not a blocker but maybe it's worth mentioning, on a fresh project after installing qwik-ui and the button component, I noticed class-variance-authority was not installed.
Repro Steps
- Create a new qwik project
- Install qwik-ui
pnpm dlx qwik-ui init - Install the button component
pnpm qwik-ui add button
To Be
Since the button component has an import from class-variance-authority I was expecting the cli to automatically add it on package.json, either on the lib install or when adding a component (e.g. button) that uses it.
+1
thanks @Balastrong !
@maiieul did you add it as a dependency to the styled component? or should it be installed separately?
@shairez It should be installed with the cli. Do we simply need to add it to dependencies on the styled kit?
I would also like to add that @qwikest/icons and tailwindcss-animate are also not installed as well.