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
I'm trying to rewrite my Pug/Express app into SvelteKit. The first thing I'm doing is copying over my layout.pug, but I'm having trouble figuring out the Pug-in-sveltepreprocess equivalent of <slot/>. As a basic example, here's the Svelte:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm trying to rewrite my Pug/Express app into SvelteKit. The first thing I'm doing is copying over my layout.pug, but I'm having trouble figuring out the Pug-in-sveltepreprocess equivalent of
<slot/>
. As a basic example, here's the Svelte:I've tried all of these, without success:
Is it possible to do this?
Beta Was this translation helpful? Give feedback.
All reactions