wip: re-configures top level components to import from correct place

This commit is contained in:
kevmodrome 2020-03-31 11:56:39 +02:00
parent 87cd19bd92
commit 751c703671
5 changed files with 23 additions and 21 deletions

View File

@ -2,11 +2,13 @@
import NoPackage from "./NoPackage.svelte" import NoPackage from "./NoPackage.svelte"
import PackageRoot from "./PackageRoot.svelte" import PackageRoot from "./PackageRoot.svelte"
import Settings from "./Settings.svelte" import Settings from "./Settings.svelte"
import { store, initialise } from "./builderStore" import { store, initialise } from "builderStore"
import { onMount } from "svelte" import { onMount } from "svelte"
import IconButton from "./common/IconButton.svelte" import IconButton from "components/common/IconButton.svelte"
import Spinner from "./common/Spinner.svelte" import Spinner from "components/common/Spinner.svelte"
import AppNotification, { showAppNotification } from "./common/AppNotification.svelte" import AppNotification, {
showAppNotification,
} from "components/AppNotification.svelte"
let init = initialise() let init = initialise()

View File

@ -1,13 +1,13 @@
<script> <script>
import BackendNav from "./nav/BackendNav.svelte" import BackendNav from "components/nav/BackendNav.svelte"
import SchemaManagementDrawer from "./nav/SchemaManagementDrawer.svelte" import SchemaManagementDrawer from "components/nav/SchemaManagementDrawer.svelte"
import Database from "./database/DatabaseRoot.svelte" import Database from "components/database/DatabaseRoot.svelte"
import UserInterface from "./userInterface/UserInterfaceRoot.svelte" import UserInterface from "components/userInterface/UserInterfaceRoot.svelte"
import ActionsAndTriggers from "./actionsAndTriggers/ActionsAndTriggersRoot.svelte" import ActionsAndTriggers from "components/actionsAndTriggers/ActionsAndTriggersRoot.svelte"
import AccessLevels from "./accessLevels/AccessLevelsRoot.svelte" import AccessLevels from "components/accessLevels/AccessLevelsRoot.svelte"
import ComingSoon from "./common/ComingSoon.svelte" import ComingSoon from "components/common/ComingSoon.svelte"
import { store, backendUiStore } from "./builderStore" import { store, backendUiStore } from "builderStore"
</script> </script>
<div class="root"> <div class="root">

View File

@ -1,6 +1,6 @@
<script> <script>
import Button from "./common/Button.svelte" import Button from "components/common/Button.svelte"
import { store } from "./builderStore" import { store } from "builderStore"
let errors = [] let errors = []
</script> </script>

View File

@ -1,10 +1,10 @@
<script> <script>
import IconButton from "./common/IconButton.svelte" import IconButton from "components/common/IconButton.svelte"
import { store } from "./builderStore" import { store } from "builderStore"
import UserInterfaceRoot from "./userInterface/UserInterfaceRoot.svelte" import UserInterfaceRoot from "components/userInterface/UserInterfaceRoot.svelte"
import BackendRoot from "./BackendRoot.svelte" import BackendRoot from "./BackendRoot.svelte"
import { fade } from "svelte/transition" import { fade } from "svelte/transition"
import { SettingsIcon, PreviewIcon } from "./common/Icons/" import { SettingsIcon, PreviewIcon } from "components/common/Icons/"
const TABS = { const TABS = {
BACKEND: "backend", BACKEND: "backend",

View File

@ -1,7 +1,7 @@
<script> <script>
import IconButton from "./common/IconButton.svelte" import IconButton from "components/common/IconButton.svelte"
import { store } from "./builderStore" import { store } from "builderStore"
import UserInterfaceRoot from "./userInterface/UserInterfaceRoot.svelte" import UserInterfaceRoot from "components/userInterface/UserInterfaceRoot.svelte"
import { fade } from "svelte/transition" import { fade } from "svelte/transition"
</script> </script>