Sign in
Log inSign up
Ignacio Andrés Miranda Figueroa

13 likes

·

1.4K reads

5 comments

Emily Kauffman
Emily Kauffman
Nov 18, 2023

I'm trying to publish my first library and this was really helpful! Thank you!

2
·
Vincent Re
Vincent Re
Aug 20, 2024

Thanks so much Igna for providing such a headstart for building a component library! I'm so far only encountering an issue with the build:lib script generating only .d.ts files. And therefore i'm not able to use the library components in a different project as is suggested. I'm trying to figure it out tweaking the vite.config.js. Will be happy to contribute suggestions to improve de user guides once i get the full hang of it. Thanks again!

2
·
·1 reply
Ignacio Andrés Miranda Figueroa
Ignacio Andrés Miranda Figueroa
Author
·Aug 24, 2024

Hey Vincent! Thanks so much! and I'm sorry you're running into this issue. Aren't you getting the JS files generated in your build? that's basically where all the components get added and then everything can be imported from there in any project

·
Alina
Alina
Sep 4, 2024

nice game for u!

1
·