Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch not available in theme components dist #284

Closed
dvzrd opened this issue Mar 5, 2024 · 1 comment
Closed

Switch not available in theme components dist #284

dvzrd opened this issue Mar 5, 2024 · 1 comment

Comments

@dvzrd
Copy link

dvzrd commented Mar 5, 2024

I installed the switch component as a single component and updated content in tailwind config, but neither the glob or single pattern worked:

'./node_modules/@nextui-org/theme/dist/components/(button|switch).js'
'./node_modules/@nextui-org/theme/dist/components/switch.js'

I checked the /theme/dist/components/ dir and couldn't find the switch component in there.

Also tried:

'./node_modules/@nextui-org/switch/dist/index.js',
'./node_modules/@nextui-org/switch/dist/switch.js',

but that didn't work either.

@dvzrd dvzrd closed this as completed Mar 5, 2024
@dvzrd
Copy link
Author

dvzrd commented Mar 5, 2024

Sorry, wrong repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant