-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[breaking] ssr/hydrate/router/prerender.default
are now configurable in +page(.server).js
and +layout(.server).js
#6197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
7a617f9
[feat] allow ssr to be configurable in +page.js and +layout.js
dummdidumm 0bb5cd3
fix tests + docs
dummdidumm 812e1b5
Update documentation/docs/12-page-options.md
dummdidumm 3b60c40
Update documentation/docs/12-page-options.md
dummdidumm 9a001dd
Update documentation/docs/12-page-options.md
dummdidumm 6059112
Merge branch 'master' into ssr-option
dummdidumm 0a62ec8
remove browser options in favor of layout/page exports
dummdidumm 4f61f59
remove ssr option from handle, update docs
dummdidumm b63114a
test
dummdidumm 5f72158
update changelog
dummdidumm 396fea1
make prerender option work in layouts
dummdidumm dba1c56
adjust test
dummdidumm ccb5fcb
update SEO docs
Rich-Harris 320bd87
Merge branch 'master' into ssr-option
dummdidumm fb8efce
remove prerender.default
dummdidumm 94f3077
how did i miss these
dummdidumm 332913e
merge master
Rich-Harris f0a69c3
fix bad link
Rich-Harris 7f38aed
fix docs
Rich-Harris 3db97a0
tweak docs
Rich-Harris 195b75f
i think this order is slightly more logical
Rich-Harris ac666ad
add detail about prerendering server routes
Rich-Harris 014a1da
typo
Rich-Harris dff921a
put link first
Rich-Harris 8de3d4c
small tweak
Rich-Harris 4dcee25
Update documentation/docs/03-routing.md
dummdidumm d111a21
Revert "Update documentation/docs/03-routing.md"
Rich-Harris File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@sveltejs/kit': patch | ||
--- | ||
|
||
[breaking] `ssr/hydrate/router/prerender.default` are now configurable in `+page(.server).js` and `+layout(.server).js` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/adapter-static/test/apps/prerendered/src/routes/+layout.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const prerender = true; |
1 change: 1 addition & 0 deletions
1
packages/adapter-static/test/apps/prerendered/src/routes/+layout.svelte
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<slot /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.