From 692252cdb2eb7556cf958ac43c951225a665773a Mon Sep 17 00:00:00 2001 From: Lightling Date: Sat, 1 Mar 2025 18:28:10 -0500 Subject: [PATCH] setup --- .editorconfig | 6 ++ .vscode/extensions.json | 3 +- package-lock.json | 24 ++++++ package.json | 2 + src/App.vue | 163 +++------------------------------------- src/assets/vue.svg | 1 - src/main.ts | 26 ++++++- src/router.ts | 12 +++ src/views/Editor.vue | 68 +++++++++++++++++ 9 files changed, 148 insertions(+), 157 deletions(-) create mode 100644 .editorconfig delete mode 100644 src/assets/vue.svg create mode 100644 src/router.ts create mode 100644 src/views/Editor.vue diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..3eade41 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +[*.{svg,js,ts,vue,html,css,scss,sass,json,txt,md,yaml,yml}] +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 2 +charset = utf-8 diff --git a/.vscode/extensions.json b/.vscode/extensions.json index cf4385b..3256cb5 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,6 +2,7 @@ "recommendations": [ "Vue.volar", "tauri-apps.tauri-vscode", - "rust-lang.rust-analyzer" + "rust-lang.rust-analyzer", + "editorconfig.editorconfig" ] } diff --git a/package-lock.json b/package-lock.json index 6407427..3889d3c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,10 +8,12 @@ "name": "simple-inventory-editor", "version": "0.1.0", "dependencies": { + "@primeuix/themes": "1.0.0", "@tauri-apps/api": "2.3.0", "@tauri-apps/plugin-opener": "2.2.6", "pinia": "3.0.1", "primevue": "4.3.1", + "uuid": "11.1.0", "vue": "3.5.13", "vue-router": "4.5.0" }, @@ -833,6 +835,15 @@ "@primeuix/styled": "^0.5.0" } }, + "node_modules/@primeuix/themes": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@primeuix/themes/-/themes-1.0.0.tgz", + "integrity": "sha512-fxUgcAP9H6FeytbE8c4QvRt8aBnoyZJqvtnnVwHT8PHr1dNSnC1nYKGrXpebcx3SpNy9Hp9oVidGsl6u61+pXQ==", + "license": "MIT", + "dependencies": { + "@primeuix/styled": "^0.5.0" + } + }, "node_modules/@primeuix/utils": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/@primeuix/utils/-/utils-0.5.1.tgz", @@ -2689,6 +2700,19 @@ "node": ">=14.17" } }, + "node_modules/uuid": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.0.tgz", + "integrity": "sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/esm/bin/uuid" + } + }, "node_modules/vite": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/vite/-/vite-6.2.0.tgz", diff --git a/package.json b/package.json index b8b74cd..db1967f 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,12 @@ "tauri": "tauri" }, "dependencies": { + "@primeuix/themes": "1.0.0", "@tauri-apps/api": "2.3.0", "@tauri-apps/plugin-opener": "2.2.6", "pinia": "3.0.1", "primevue": "4.3.1", + "uuid": "11.1.0", "vue": "3.5.13", "vue-router": "4.5.0" }, diff --git a/src/App.vue b/src/App.vue index 5a26f11..1657b56 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,160 +1,19 @@ -