mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
Reorganize paths in pages
This commit is contained in:
parent
99fc402f38
commit
96dea34f9a
7 changed files with 11 additions and 10 deletions
|
|
@ -51,7 +51,7 @@
|
|||
|
||||
<script setup lang="ts">
|
||||
import { useRoute } from 'vue-router';
|
||||
import LoginInput from "./components/LoginInput.vue"
|
||||
import LoginInput from "../../components/LoginInput.vue"
|
||||
import { onMounted, ref } from 'vue';
|
||||
|
||||
const query = useRoute().query;
|
||||
|
|
@ -99,7 +99,7 @@
|
|||
|
||||
<script setup lang="ts">
|
||||
import type { APIInstance } from "~types/entities/instance";
|
||||
import LoginInput from "./components/LoginInput.vue"
|
||||
import LoginInput from "../../components/LoginInput.vue"
|
||||
import { computed, ref, watch } from 'vue';
|
||||
|
||||
const instanceInfo = await fetch("/api/v1/instance").then(res => res.json()) as APIInstance & {
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
import Login from "./login.vue";
|
||||
import Home from "./Home.vue";
|
||||
import Register from "./Register.vue";
|
||||
import RegistrationSuccess from "./RegistrationSuccess.vue";
|
||||
import indexVue from "./pages/index.vue";
|
||||
import authorizeVue from "./pages/oauth/authorize.vue";
|
||||
import registerIndexVue from "./pages/register/index.vue";
|
||||
import successVue from "./pages/register/success.vue";
|
||||
|
||||
export default [
|
||||
{ path: "/", component: Home },
|
||||
{ path: "/oauth/authorize", component: Login },
|
||||
{ path: "/register", component: Register },
|
||||
{ path: "/register/success", component: RegistrationSuccess },
|
||||
{ path: "/", component: indexVue },
|
||||
{ path: "/oauth/authorize", component: authorizeVue },
|
||||
{ path: "/register", component: registerIndexVue },
|
||||
{ path: "/register/success", component: successVue },
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue