13 likes
·
1.4K reads
5 comments
I'm trying to publish my first library and this was really helpful! Thank you!
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!
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
nice game for u!