Looking for a way to build a library components with Solid + Vite

I'm looking for a way to reuse SolidJs components in different projects. Currently the starter template of Vite only offer a website solution. In Vite, it has library mode, but it doesn't seem like an ideal solution for multiple entries. Let's say 50 entries should be enough to think about an automatic solution right? (Moreover, the rollupOptions config part confuse me badly) So I hope that you guys could show me a easier way or share me any repo already did it so I can learn from them. It doesn't have to stick with Vite all the time (but I appreciate the Vite dev mode though) Thanks in advance - https://vite.dev/guide/build.html#library-mode
1 Reply
Madaxen86
Madaxen865w ago
GitHub
GitHub - solidjs-community/solid-lib-starter: SolidJS library start...
SolidJS library starter template. Use it to create your own solid package. - solidjs-community/solid-lib-starter

Did you find this page helpful?