Add the first version of the history site
This commit is contained in:
parent
e616466f98
commit
cd2349a449
16 changed files with 1696 additions and 0 deletions
33
site/src/main.js
Normal file
33
site/src/main.js
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
import { createApp } from "vue";
|
||||
import App from "./App.vue";
|
||||
|
||||
let app = createApp(App);
|
||||
|
||||
app.mixin({
|
||||
data() {return {
|
||||
discord: {
|
||||
client: {
|
||||
id: `863968565353906226`,
|
||||
},
|
||||
auth: {
|
||||
base: `https://discord.com/api/oauth2/authorize`,
|
||||
scopes: [
|
||||
`identify`,
|
||||
`guilds`,
|
||||
],
|
||||
useState: true,
|
||||
},
|
||||
api: {
|
||||
base: `https://discord.com/api/v9`,
|
||||
getGuilds: `/users/@me/guilds`,
|
||||
},
|
||||
},
|
||||
private: {
|
||||
api: `http://localhost:3001`,
|
||||
},
|
||||
}},
|
||||
methods: {},
|
||||
computed: {},
|
||||
})
|
||||
|
||||
app.mount('#app');
|
||||
Loading…
Add table
Add a link
Reference in a new issue