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
Beyond a load function, and defining page options (prerender, trailingSlash, etc.), are there other appropriate uses of those files? I was thinking they could be used to export some constants, but it seems to be discouraged by the need for a _ prefix, which makes me wonder if the +page.svelte (or layout) is the appropriate place for that kind of thing.
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
Uh oh!
There was an error while loading. Please reload this page.
-
Beyond a
load
function, and defining page options (prerender
,trailingSlash
, etc.), are there other appropriate uses of those files? I was thinking they could be used to export some constants, but it seems to be discouraged by the need for a_
prefix, which makes me wonder if the+page.svelte
(or layout) is the appropriate place for that kind of thing.Beta Was this translation helpful? Give feedback.
All reactions