chore: mark todo; illegal return
This commit is contained in:
parent
9608cb6f56
commit
ccf24fb6d0
1 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
||||||
<title>Hello Nitro</title>
|
<title>Hello Nitro</title>
|
||||||
<script server:setup>
|
<script server:setup>
|
||||||
const name = "AYOs";
|
const name = "AYOs";
|
||||||
return { name };
|
return { name }; // TODO: this is illegal! figure out a way to build an object in the route intercept
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -16,11 +16,11 @@
|
||||||
</div>
|
</div>
|
||||||
<span>some text</span>
|
<span>some text</span>
|
||||||
<clickable-text></clickable-text>
|
<clickable-text></clickable-text>
|
||||||
<!-- <script>
|
<script>
|
||||||
const helloWorld = document.querySelector("hello-world");
|
const helloWorld = document.querySelector("hello-world");
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
helloWorld.setAttribute("name", "Nitro");
|
helloWorld.setAttribute("name", "Nitro");
|
||||||
}, 2000);
|
}, 2000);
|
||||||
</script> -->
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue