3 ms·
I don’t use frameworks like React or Vue because my apps are small and mostly just for me, so I wish there were component libraries out there like Chakra that d
by replwoacause 3y ago
I don’t use frameworks like React or Vue because my apps are small and mostly just for me, so I wish there were component libraries out there like Chakra that didn’t require npm, yarn, or some other package manager to install, and then a framework to use. I just want to slap a CDN link in my HEAD tag of my vanilla HTML page and start using class names to create components. Ideally, these components would have behavior functionality as well so I don’t have to use another library like HTMX or Alpine.js to add it. It seems to me something like this _should_ be possible.
- jlarky2012 3y agoit is possible! I've been playing with Astro and shoelace library downloaded from CDN for a use case like that.
- jlarky2012 3y agodeployed version https://b2b-saaskit.vercel.app/setup https://b2b-saaskit.vercel.app/setup source code https://github.com/fogbender/b2b-saaskit/blob/44ae552d6093a90f2b706951c24ed271363d3957/src/pages/setup/index.astro#L64 https://github.com/fogbender/b2b-saaskit/blob/44ae552d6093a9...
- replwoacause 3y agoSuper helpful, taking a look now to see how you worked with Astro and Shoelace. This is very encouraging…!
- replwoacause 3y agoShoelace looks great! Thanks for sharing it. Can't wait to give it a whirl.