diff --git a/.browserslistrc b/frontend/.browserslistrc similarity index 100% rename from .browserslistrc rename to frontend/.browserslistrc diff --git a/.editorconfig b/frontend/.editorconfig similarity index 100% rename from .editorconfig rename to frontend/.editorconfig diff --git a/.eslintrc-auto-import.json b/frontend/.eslintrc-auto-import.json similarity index 100% rename from .eslintrc-auto-import.json rename to frontend/.eslintrc-auto-import.json diff --git a/.eslintrc.js b/frontend/.eslintrc.js similarity index 100% rename from .eslintrc.js rename to frontend/.eslintrc.js diff --git a/.prettierrc.json b/frontend/.prettierrc.json similarity index 100% rename from .prettierrc.json rename to frontend/.prettierrc.json diff --git a/README.md b/frontend/README.md similarity index 100% rename from README.md rename to frontend/README.md diff --git a/auto-imports.d.ts b/frontend/auto-imports.d.ts similarity index 100% rename from auto-imports.d.ts rename to frontend/auto-imports.d.ts diff --git a/components.d.ts b/frontend/components.d.ts similarity index 100% rename from components.d.ts rename to frontend/components.d.ts diff --git a/index.html b/frontend/index.html similarity index 100% rename from index.html rename to frontend/index.html diff --git a/package-lock.json b/frontend/package-lock.json similarity index 100% rename from package-lock.json rename to frontend/package-lock.json diff --git a/package.json b/frontend/package.json similarity index 100% rename from package.json rename to frontend/package.json diff --git a/public/favicon.ico b/frontend/public/favicon.ico similarity index 100% rename from public/favicon.ico rename to frontend/public/favicon.ico diff --git a/src/App.vue b/frontend/src/App.vue similarity index 100% rename from src/App.vue rename to frontend/src/App.vue diff --git a/src/assets/logo.png b/frontend/src/assets/logo.png similarity index 100% rename from src/assets/logo.png rename to frontend/src/assets/logo.png diff --git a/src/assets/logo.svg b/frontend/src/assets/logo.svg similarity index 100% rename from src/assets/logo.svg rename to frontend/src/assets/logo.svg diff --git a/src/main.ts b/frontend/src/main.ts similarity index 100% rename from src/main.ts rename to frontend/src/main.ts diff --git a/src/plugins/index.ts b/frontend/src/plugins/index.ts similarity index 62% rename from src/plugins/index.ts rename to frontend/src/plugins/index.ts index 0f05547..e48c717 100644 --- a/src/plugins/index.ts +++ b/frontend/src/plugins/index.ts @@ -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) } diff --git a/src/plugins/sqliteplugin.ts b/frontend/src/plugins/sqliteplugin.ts similarity index 100% rename from src/plugins/sqliteplugin.ts rename to frontend/src/plugins/sqliteplugin.ts diff --git a/src/plugins/vuetify.ts b/frontend/src/plugins/vuetify.ts similarity index 100% rename from src/plugins/vuetify.ts rename to frontend/src/plugins/vuetify.ts diff --git a/src/router/index.ts b/frontend/src/router/index.ts similarity index 100% rename from src/router/index.ts rename to frontend/src/router/index.ts diff --git a/src/store/README.md b/frontend/src/store/README.md similarity index 100% rename from src/store/README.md rename to frontend/src/store/README.md diff --git a/src/store/app.ts b/frontend/src/store/app.ts similarity index 100% rename from src/store/app.ts rename to frontend/src/store/app.ts diff --git a/src/store/characterstore.ts b/frontend/src/store/characterstore.ts similarity index 100% rename from src/store/characterstore.ts rename to frontend/src/store/characterstore.ts diff --git a/src/store/gamestore.ts b/frontend/src/store/gamestore.ts similarity index 100% rename from src/store/gamestore.ts rename to frontend/src/store/gamestore.ts diff --git a/src/store/index.ts b/frontend/src/store/index.ts similarity index 100% rename from src/store/index.ts rename to frontend/src/store/index.ts diff --git a/src/styles/settings.scss b/frontend/src/styles/settings.scss similarity index 100% rename from src/styles/settings.scss rename to frontend/src/styles/settings.scss diff --git a/src/vite-env.d.ts b/frontend/src/vite-env.d.ts similarity index 100% rename from src/vite-env.d.ts rename to frontend/src/vite-env.d.ts diff --git a/src/vues/GameList.vue b/frontend/src/vues/GameList.vue similarity index 100% rename from src/vues/GameList.vue rename to frontend/src/vues/GameList.vue diff --git a/tsconfig.json b/frontend/tsconfig.json similarity index 100% rename from tsconfig.json rename to frontend/tsconfig.json diff --git a/tsconfig.node.json b/frontend/tsconfig.node.json similarity index 100% rename from tsconfig.node.json rename to frontend/tsconfig.node.json diff --git a/typed-router.d.ts b/frontend/typed-router.d.ts similarity index 100% rename from typed-router.d.ts rename to frontend/typed-router.d.ts diff --git a/vite.config.mts b/frontend/vite.config.mts similarity index 100% rename from vite.config.mts rename to frontend/vite.config.mts