From 828cad6439766000477ee089c475faba01a821c9 Mon Sep 17 00:00:00 2001 From: lana-k Date: Sat, 1 Feb 2025 20:54:26 +0100 Subject: [PATCH] migrate to vite --- .eslintrc.js | 6 ++-- public/index.html => index.html | 12 ++++---- src/App.vue | 12 ++++---- src/assets/styles/dialogs.css | 2 +- src/assets/styles/multiselect.css | 8 ++--- src/components/CheckBox.vue | 6 ++-- src/components/DbUploader.vue | 12 ++++---- src/components/LoadingDialog.vue | 2 +- src/components/Logs.vue | 6 ++-- src/components/Splitpanes/index.vue | 4 +-- src/lib/database/_sql.js | 5 +++- src/lib/database/index.js | 8 ++--- src/views/Main/AppDiagnosticInfo.vue | 5 ++-- src/views/Main/Inquiries/index.vue | 6 ++-- src/views/Main/MainMenu.vue | 6 ++-- src/views/Main/Workspace/Tabs/index.vue | 4 +-- vite.config.js | 40 +++++++++++++++++++++++++ 17 files changed, 92 insertions(+), 52 deletions(-) rename public/index.html => index.html (83%) create mode 100644 vite.config.js diff --git a/.eslintrc.js b/.eslintrc.js index af1c097..3853d47 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,15 +1,13 @@ module.exports = { root: true, env: { - node: true + node: true, + es2022: true, }, extends: [ 'plugin:vue/essential', '@vue/standard' ], - parserOptions: { - parser: '@babel/eslint-parser' - }, rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', diff --git a/public/index.html b/index.html similarity index 83% rename from public/index.html rename to index.html index 0abe30a..e47af9d 100644 --- a/public/index.html +++ b/index.html @@ -4,9 +4,9 @@ - - - <%= htmlWebpackPlugin.options.title %> + + + sqliteviz