move Svelte-4 components to legacy route
This commit is contained in:
parent
47aadc9ef5
commit
f0c66fb4a2
3 changed files with 4 additions and 4 deletions
|
@ -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';
|
||||
|
|
|
@ -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 }) => {
|
||||
|
|
|
@ -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();
|
||||
|
|
Reference in a new issue