Reloading Indicator Error
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 10
- Forks
- 23
- Avg merge
- 5m
- Merged PRs (30d)
- 1
Description
In your https://inertiajs.com/docs/v3/data-props/deferred-props#reloading-indicator, it returns [plugin:vite:vue] Codegen node is missing for element/if/for node. Apply appropriate transforms first.
it should be like this
<template>
<Deferred data="permissions">
<template #fallback>
<div>Loading...</div>
</template>
<template #default="{ reloading }">
<div :class="{ 'opacity-50': reloading }">
<div v-for="permission in permissions">
<!-- ... -->
</div>
</div>
</template>
</Deferred>
</template>
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the reloading indicator section at the linked deferred-props documentation page and compare its example with the reported Vue compiler error and replacement snippet. Update the example so the documented usage renders without that error, then run the documentation build or preview to verify the page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 75/100