some backend stuff and getting fe to build

This commit is contained in:
iamBadgers committed 2024-03-05 12:15:18 -08:00
1 parent 4d469ff1d5
commit 37efd3949d
18 files changed
+2647 -26

No files matched your search

+3 -7
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')
+1 -3
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)
}
-14
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')
}
}
+1 -1
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: '/',