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

Issues With Slots #3

Closed
nickpoulos opened this issue May 25, 2021 · 2 comments
Closed

Issues With Slots #3

nickpoulos opened this issue May 25, 2021 · 2 comments

Comments

@nickpoulos
Copy link

Does this technique work with slotted content as well?

I am having an issue getting my slots to show up with a basic example and was not able to find a workaround. Everything else seems to work properly -- props, events, etc.

It seems like a strange quirk so it makes me feel like I am doing something incorrectly?

Any insights appreciated.

Thanks for releasing this little package!

@crisward
Copy link
Owner

Slots should work fine.
There is a test here checking that.
https://github.com/crisward/svelte-tag/blob/master/tests/tag.test.js#L34

Perhaps share an example?

@nickpoulos
Copy link
Author

nickpoulos commented May 25, 2021

Ahh my mistake, I came to the wrong codebase!

I am actually using this snippet: sveltejs/svelte#1748 (comment)

I saw your comment underneath and kept the tab open to your project here.

But now that slots do not appear to be working with the above snippet, I may just try out svelte-tag.

Thanks!

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

2 participants