feat: nextjs ssr auth tutorial

This commit is contained in:
loks0n
2024-02-09 11:50:58 +00:00
parent efd44deeb6
commit f6c4e3626e
12 changed files with 421 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
<script lang="ts">
import { globToTutorial } from '$lib/utils/tutorials.js';
import { setContext } from 'svelte';
export let data;
const tutorials = globToTutorial(data);
setContext('tutorials', tutorials);
</script>
<slot />