histoire-dev / histoire

⚡ Fast and beautiful interactive component playgrounds, powered by Vite
https://histoire.dev
MIT License
3.05k stars 178 forks source link

Support for Vanilla Web Components? #732

Open skamansam opened 3 weeks ago

skamansam commented 3 weeks ago

Clear and concise description of the problem

I really love histoire and use it across all my many work projects in svelte and vue. Thank you for building such an amazing tool! That said, I am working on a few demos using vanilla web components. Since there is a standard interface for web components, I am wondering if you already have a method for using vanilla web components, or if a plugin is on the way.

Suggested solution

Implement a plugin for vanilla web components.

Alternative

Maybe there is already a way to do this?

Additional context

My project is here - https://github.com/skamansam/vanilla-web-components

Validations

benefiction commented 3 weeks ago

There is support for stories without frameworks, but there aren't any docs for them until now, may this help: https://github.com/histoire-dev/histoire/tree/main/packages/histoire/src/node/builtin-plugins/vanilla-support