30 lines
526 B
Svelte
30 lines
526 B
Svelte
<script>
|
|
import {locals} from "../ts/stores.js";
|
|
import LocalsTest from "./LocalsTest.svelte";
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.render-mode {
|
|
text-align: center;
|
|
background: gray;
|
|
padding: 8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
</style>
|
|
|
|
<div class="render-mode">{$locals.isPreRender ? 'SSR' : 'CSR'}</div>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Expected value</th>
|
|
<th>Actual value</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<LocalsTest/>
|
|
</tbody>
|
|
</table>
|