We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The example shown in the docs:
<template lang="pug"> div Posts +each('posts as post') a(href="{post.url}") {post.title} </template>
What I'm trying to do:
{#each [...$wildcard] as item (item.id)} <li animate:flip={{ duration: 200 }}>{item.name}</li> {/each}
So it's the item (item.id) bit which I can't figure out how to represent using svelte-preprocessor's syntax.
item (item.id)
svelte-preprocessor
If this feature doesn't exist, please add it! If it does, please document it here: https://github.com/sveltejs/svelte-preprocess/blob/main/docs/preprocessing.md#pug
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The example shown in the docs:
What I'm trying to do:
So it's the
item (item.id)
bit which I can't figure out how to represent usingsvelte-preprocessor
's syntax.If this feature doesn't exist, please add it!
If it does, please document it here: https://github.com/sveltejs/svelte-preprocess/blob/main/docs/preprocessing.md#pug
The text was updated successfully, but these errors were encountered: