-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve attribute replacement and make it work even if app devs have …
…custom preprocessing config. Auto-reloading doesn't work though, so that needs to be fixed, along with regex specificity.
- Loading branch information
1 parent
ee56dc7
commit ca440d2
Showing
5 changed files
with
23 additions
and
67 deletions.
There are no files selected for viewing
This file contains 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 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 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
6 changes: 6 additions & 0 deletions
6
packages/kit/test/apps/options/source/pages/prefetching/+page.svelte
This file contains 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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
<a sveltekit:prefetch href="/path-base/prefetching/prefetched">click me for sveltekit:prefetch</a> | ||
<br /> | ||
<a sveltekit:attribute href="/path-base/prefetching/prefetched">click me for sveltekit:attribute</a> | ||
<br /> | ||
<a sveltekit:noscroll href="/path-base/prefetching/prefetched">click me for sveltekit:noscroll</a> | ||
<br /> | ||
<a sveltekit:reload href="/path-base/prefetching/prefetched">click me for sveltekit:reload</a> | ||
<br /> | ||
<a sveltekit:something href="/path-base/prefetching/prefetched">click me for sveltekit:something</a> |
This file contains 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