Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs #23

Closed
Tropix126 opened this issue Dec 23, 2021 · 7 comments
Closed

Docs #23

Tropix126 opened this issue Dec 23, 2021 · 7 comments
Milestone

Comments

@Tropix126
Copy link

Aware that this is already planned by the readme, but I thought that I might open this issue to track it anyways. Might suggest a few things, since documenting svelte components can be made a lot easier than expected.

Few neat things that can help:

@rgossiaux
Copy link
Owner

Thanks for filing & for the tooling suggestions! I definitely do intend on including project-specific docs here.

At the moment I think the https://headlessui.dev React docs hopefully work well enough to be usable & so I've been focusing on porting over the test files. After that's finished I'll turn back to the docs.

@jeffpohlmeyer
Copy link

Thanks for filing & for the tooling suggestions! I definitely do intend on including project-specific docs here.

At the moment I think the https://headlessui.dev React docs hopefully work well enough to be usable & so I've been focusing on porting over the test files. After that's finished I'll turn back to the docs.

Are all of the components listed there available here as of now or are there some that are still to be ported over?

@rgossiaux
Copy link
Owner

Yep, they're all available! It's a full port :)

@jeffpohlmeyer
Copy link

Fantastic news. A couple of months ago I was thinking of doing this myself so it's definitely nice to see. Thanks for doing this

@cogoo
Copy link

cogoo commented Jan 7, 2022

Fantastic news. A couple of months ago I was thinking of doing this myself so it's definitely nice to see. Thanks for doing this

Exactly the same thought!

Thank you so much @rgossiaux for this!

I suppose we can piggy back of the React docs, but just show how to transform into the svelte version? (🧐 wondering if we can write some tooling to do this)

@vhscom
Copy link

vhscom commented Jan 30, 2022

I started porting the official Tailwind UI components which were given away free by Tailwind Labs here: https://codeberg.org/vhs/svelte-tailwindui-freebies.

Having the freebies ported to Svelte would serve as living documentation as well as a test scaffold for this library. I've already ported the navigation and slide-out examples. If anyone wants to help porting the others, open the $lib folder and pull up the official component docs for React/Vue and have at it.

@rgossiaux
Copy link
Owner

I just (finally) shipped initial docs in #61. They're accessible at https://svelte-headlessui.goss.io/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants