Basic Quiztivity working

This commit is contained in:
Mawoka
2023-05-13 19:49:38 +02:00
parent 2750e7539d
commit f23fb4f625
15 changed files with 295 additions and 14 deletions
@@ -5,9 +5,7 @@
-->
<script lang="ts">
import type { PageData } from './$types';
import type { Data } from '../../../lib/quiztivity/types';
import Editor from '../../../lib/quiztivity/editor.svelte';
import { goto } from '$app/navigation';
export let data: PageData;
+1 -1
View File
@@ -6,7 +6,7 @@
import type { PageLoad } from './$types';
import { error } from '@sveltejs/kit';
import type { Data } from '../../../lib/quiztivity/types';
import type { Data } from '$lib/quiztivity/types';
export const load = (async ({ url, fetch }) => {
const id = url.searchParams.get('id');