You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support Vue scoped slots: pass browser data from a component to its fill #168
Vue's scoped slots let a component pass its own browser data to the content a parent puts in its slot (<template #item="{ row }">). Citry's slots don't support this today:
A fill can't read slot data that the child provides from Vue (no v-slot/#name="{ ... }" on Citry component tags).
<c-slot> can pass Python data to a fill (rendered on the server), but not browser data from the child's Vue state.
So a component that owns browser state (a list with a client-side filter, a table with sortable rows) can't let its caller decide how each item renders using that state.
What to explore
Accept Vue slot props on fills and pass browser data through <c-slot>.
How this fits server-rendered HTML and hydration: the server renders the fill with Python data; the browser re-renders it with the child's Vue data.
How it interacts with Citry's fill scope (fills keep the author component's Vue data) and with Events re-renders.
Done for 0.7.0: #445 (syntax and runtime), #447 (server HTML for v-slot fills) and #521 (editor and citry check). The group components that build on it are tracked in #169 (v1.1).
Activity
feat(vue): write a v-slot fill's server HTML with the props its slot …
feat(lsp): read scoped slot props in the editor and citry check (#168)
feat(lsp): read scoped slot props in the editor and citry check (#168) (
JuroOravec commentedon Nov 1, 2026
Done for 0.7.0: #445 (syntax and runtime), #447 (server HTML for v-slot fills) and #521 (editor and citry check). The group components that build on it are tracked in #169 (v1.1).