move Svelte-4 components to legacy route

This commit is contained in:
Neshura 2023-12-05 19:25:14 +01:00
parent 47aadc9ef5
commit f0c66fb4a2
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
<script lang="ts">
import SubNav from './SubNav.svelte';
import '../../app.postcss';
import '../../../app.postcss';
import { goto } from "$app/navigation";
import { page } from "$app/stores";
import GraphsTabStore from '$lib/stores/GraphsTab';

View file

@ -2,8 +2,8 @@ import ChellarisDataStore from '$lib/stores/ChellarisData';
import SelectedGameStore from '$lib/stores/GameFilter';
import SelectedGameGroupsStore, { type SelectedChellarisGroups } from "$lib/stores/GameGroupFilter";
import GraphsTabStore from '$lib/stores/GraphsTab';
import type { LayoutLoad } from "./$types";
import type { ChellarisInfo } from '../../lib/types/chellaris';
import type { LayoutLoad } from "../../../../.svelte-kit/types/src/routes";
import type { ChellarisInfo } from '$lib/types/chellaris';
import { apiBaseUrl } from '$lib/components/consts';
export const load: LayoutLoad = async ({ fetch }) => {

View file

@ -1,5 +1,5 @@
import { apiBaseUrl } from "$lib/components/consts";
import type { PageLoad } from "../$types";
import type { PageLoad } from "../../../../.svelte-kit/types/src/routes";
export const load: PageLoad = async ({ fetch }) => {
const popsRet: { speciesArray: Array<number> } = await (await fetch(apiBaseUrl + '/v1/species')).json();