According to the docs of page options here, it seems that prerender
option could be put in either client files (namely +page.js
and +layout.js
) or server files (namely +page.server.js
and +layout.server.js
).
My questions are:
- In which file should I put the page options in? Or either client file or server file is OK?
- Are there any page option that can only be put in server/client files?