mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-16 04:44:35 +00:00
overhaul tests
This commit is contained in:
11
test/apps/basics/src/routes/b/index.html
Normal file
11
test/apps/basics/src/routes/b/index.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<h1>{letter}</h1>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
preload() {
|
||||
return this.fetch('b.json').then(r => r.json()).then(letter => {
|
||||
return { letter };
|
||||
});
|
||||
}
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user