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 vuetify from './vuetify'
|
||||||
import pinia from '../store'
|
import pinia from '../store'
|
||||||
import router from '../router'
|
import router from '../router'
|
||||||
import sqliteplugin from './sqliteplugin'
|
|
||||||
|
|
||||||
import sqlite3 from 'sqlite3'
|
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
import type { App } from 'vue'
|
import type { App } from 'vue'
|
||||||
@@ -18,8 +15,5 @@ import type { App } from 'vue'
|
|||||||
const defaultDatabaseFileName = './testdb.db'
|
const defaultDatabaseFileName = './testdb.db'
|
||||||
|
|
||||||
export async function registerPlugins(app: App) {
|
export async function registerPlugins(app: App) {
|
||||||
|
app.use(vuetify).use(router).use(pinia)
|
||||||
const db = new sqlite3.Database(defaultDatabaseFileName)
|
|
||||||
|
|
||||||
app.use(vuetify).use(router).use(pinia).use(sqliteplugin)
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user