mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-13 09:10:14 +00:00
Add unfinished website section
This commit is contained in:
parent
d081be838a
commit
3d6fa86518
16 changed files with 3882 additions and 11 deletions
24
web/app/index.js
Normal file
24
web/app/index.js
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
import Vue from "vue";
|
||||
import VueRouter from "vue-router";
|
||||
import BootstrapVue from "bootstrap-vue";
|
||||
Vue.use(VueRouter);
|
||||
Vue.use(BootstrapVue);
|
||||
|
||||
import App from "./App.vue";
|
||||
import HomePage from "./HomePage.vue";
|
||||
import SystemPage from "./SystemPage.vue";
|
||||
import SystemEditPage from "./SystemEditPage.vue";
|
||||
import MemberEditPage from "./MemberEditPage.vue";
|
||||
import OAuthRedirectPage from "./OAuthRedirectPage.vue";
|
||||
|
||||
const router = new VueRouter({
|
||||
mode: "history",
|
||||
routes: [
|
||||
{ name: "home", path: "/", component: HomePage },
|
||||
{ name: "system", path: "/s/:id", component: SystemPage, props: true },
|
||||
{ name: "edit-system", path: "/s/:id/edit", component: SystemEditPage, props: true },
|
||||
{ name: "edit-member", path: "/m/:id/edit", component: MemberEditPage, props: true },
|
||||
{ name: "auth-discord", path: "/auth/discord", component: OAuthRedirectPage }
|
||||
]
|
||||
})
|
||||
new Vue({ el: "#app", render: r => r(App), router });
|
||||
Loading…
Add table
Add a link
Reference in a new issue