move frontend to its own folder
This commit is contained in:
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 526 B After Width: | Height: | Size: 526 B |
@@ -8,9 +8,6 @@
|
||||
import vuetify from './vuetify'
|
||||
import pinia from '../store'
|
||||
import router from '../router'
|
||||
import sqliteplugin from './sqliteplugin'
|
||||
|
||||
import sqlite3 from 'sqlite3'
|
||||
|
||||
// Types
|
||||
import type { App } from 'vue'
|
||||
@@ -18,8 +15,5 @@ import type { App } from 'vue'
|
||||
const defaultDatabaseFileName = './testdb.db'
|
||||
|
||||
export async function registerPlugins(app: App) {
|
||||
|
||||
const db = new sqlite3.Database(defaultDatabaseFileName)
|
||||
|
||||
app.use(vuetify).use(router).use(pinia).use(sqliteplugin)
|
||||
app.use(vuetify).use(router).use(pinia)
|
||||
}
|
||||
Reference in New Issue
Block a user