some backend stuff and getting fe to build

This commit is contained in:
iamBadgers
2024-03-05 12:15:18 -08:00
parent 4d469ff1d5
commit 37efd3949d
18 changed files with 2647 additions and 26 deletions

View File

@@ -13,12 +13,8 @@ import App from './App.vue'
// Composables
import { createApp } from 'vue'
async function run() {
const app = createApp(App)
const app = createApp(App)
registerPlugins(app)
registerPlugins(app)
app.mount('#app')
}
run()
app.mount('#app')

View File

@@ -12,8 +12,6 @@ import router from '../router'
// Types
import type { App } from 'vue'
const defaultDatabaseFileName = './testdb.db'
export async function registerPlugins(app: App) {
export function registerPlugins(app: App) {
app.use(vuetify).use(router).use(pinia)
}

View File

@@ -1,14 +0,0 @@
import { open } from 'sqlite'
const defaultDatabaseFileName = './testdb.db'
export default {
install(app, options) {
// let database = await open({
// filename: defaultDatabaseFileName,
// driver: sqlite3.Database
// })
console.log('potato')
}
}

View File

@@ -1,6 +1,6 @@
import { createRouter, createWebHashHistory } from 'vue-router'
import GameList from '../vues/GameList'
import GameList from '../vues/GameList.vue'
const rootPath = {
path: '/',