diff --git a/src/App.vue b/src/Index.vue similarity index 87% rename from src/App.vue rename to src/Index.vue index fc319c0..155886b 100644 --- a/src/App.vue +++ b/src/Index.vue @@ -2,7 +2,7 @@ import './assets/tailwind.css' export default { - name: 'App', + name: 'Index', } diff --git a/src/components/app/AppHeader.vue b/src/components/app/AppHeader.vue new file mode 100644 index 0000000..b7f9105 --- /dev/null +++ b/src/components/app/AppHeader.vue @@ -0,0 +1,746 @@ + + + \ No newline at end of file diff --git a/src/components/app/AppSidebar.vue b/src/components/app/AppSidebar.vue new file mode 100644 index 0000000..4b254cc --- /dev/null +++ b/src/components/app/AppSidebar.vue @@ -0,0 +1,607 @@ + + + \ No newline at end of file diff --git a/src/components/app/Entry.vue b/src/components/app/Entry.vue new file mode 100644 index 0000000..71b29db --- /dev/null +++ b/src/components/app/Entry.vue @@ -0,0 +1,35 @@ + + + \ No newline at end of file diff --git a/src/components/app/ListItem.vue b/src/components/app/ListItem.vue new file mode 100644 index 0000000..b12a706 --- /dev/null +++ b/src/components/app/ListItem.vue @@ -0,0 +1,26 @@ + + + \ No newline at end of file diff --git a/src/main.ts b/src/main.ts index 9643aa5..b2c114e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,9 +1,9 @@ import { createApp } from 'vue' import router from "./router"; -import App from './App.vue' +import Index from './Index.vue' import axios from 'axios'; -const app = createApp(App); +const app = createApp(Index); axios.defaults.headers.common["Access-Control-Allow-Origin"] = '*'; axios.defaults.headers.common['Access-Control-Allow-Methods'] = 'GET, POST, PUT, DELETE'; diff --git a/src/router.ts b/src/router.ts index 6cbd8ca..434ffc0 100644 --- a/src/router.ts +++ b/src/router.ts @@ -1,15 +1,17 @@ import { createWebHistory, createRouter } from "vue-router"; import { type RouteRecordRaw } from "vue-router"; -import App from "./App.vue"; -import HomeVue from "./views/Home.vue"; -import NotFoundVue from "./views/NotFound.vue"; - const routes: Array = [ //Normal pages { path: '/', - component: HomeVue + component: () => import('./views/Home.vue') + }, + + //App + { + path: '/app', + component: () => import('./views/app/App.vue') }, //Redirects @@ -17,7 +19,7 @@ const routes: Array = [ //Congifuration { path: '/:pathMatch(.*)*', - component: NotFoundVue + component: () => import("./views/NotFound.vue") }, ]; diff --git a/src/views/Home.vue b/src/views/Home.vue index 3ee7b04..ce85a3b 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -16,7 +16,7 @@ console.log('%c Wenn du nicht 100% weißt, was du tust, schließe dieses Fenster