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

Feat/treeshake single components #1217

Closed

Conversation

ddiasfront
Copy link
Contributor

Fixes #1197

I'm submitting an example of how we can handle this.
This PR will NOT fix the theme treeshaking since it is a bit more complicated and would need a more deep review on theme structuring.

This is the final result after importing only badge into a spa
Screenshot 2024-01-07 at 22 27 21

Expecting comments from the maintainers to improve the final code.

Copy link

vercel bot commented Jan 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
flowbite-react ❌ Failed (Inspect) Jan 8, 2024 1:31am

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

Successfully merging this pull request may close these issues.

Performance pitfall - imports not tree shaken
1 participant