From 52f6349c3449dc962096339e6b360e526091c512 Mon Sep 17 00:00:00 2001 From: Yeicor <4929005+Yeicor@users.noreply.github.com> Date: Sat, 17 Feb 2024 12:05:33 +0100 Subject: [PATCH] optimized build size again (icons & camera) --- package.json | 4 +++- src/App.vue | 10 +++++++--- src/index.ts | 5 ++--- src/{viewer => misc}/Loading.vue | 0 src/{models => misc}/Sidebar.vue | 16 ++++++++++++---- src/tools/Tools.vue | 25 ++++++++++++++++--------- src/viewer/ModelViewerWrapper.vue | 3 +-- yarn.lock | 16 +++++++++++++--- 8 files changed, 54 insertions(+), 25 deletions(-) rename src/{viewer => misc}/Loading.vue (100%) rename src/{models => misc}/Sidebar.vue (62%) diff --git a/package.json b/package.json index f72e7e6..c52cc45 100644 --- a/package.json +++ b/package.json @@ -11,13 +11,15 @@ "dependencies": { "@gltf-transform/core": "^3.10.0", "@google/model-viewer": "^3.4.0", + "@jamescoyle/vue-icon": "^0.1.2", + "@mdi/js": "^7.4.47", + "@mdi/svg": "^7.4.47", "three": "^0.160.1", "three-orientation-gizmo": "https://github.com/jrj2211/three-orientation-gizmo", "vue": "^3.4.16", "vuetify": "^3.5.3" }, "devDependencies": { - "@mdi/font": "^7.4.47", "@parcel/optimizer-data-url": "2.11.0", "@parcel/reporter-bundle-analyzer": "^2.11.0", "@parcel/transformer-inline-string": "2.11.0", diff --git a/src/App.vue b/src/App.vue index 8815982..f121dee 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,13 +1,13 @@