diff --git a/.vscode/PythonImportHelper-v2-Completion.json b/.vscode/PythonImportHelper-v2-Completion.json index d16e01b..e6a1740 100644 --- a/.vscode/PythonImportHelper-v2-Completion.json +++ b/.vscode/PythonImportHelper-v2-Completion.json @@ -177,6 +177,94 @@ "detail": "django.db", "documentation": {} }, + { + "label": "migrations", + "importPath": "django.db", + "description": "django.db", + "isExtraImport": true, + "detail": "django.db", + "documentation": {} + }, + { + "label": "models", + "importPath": "django.db", + "description": "django.db", + "isExtraImport": true, + "detail": "django.db", + "documentation": {} + }, + { + "label": "migrations", + "importPath": "django.db", + "description": "django.db", + "isExtraImport": true, + "detail": "django.db", + "documentation": {} + }, + { + "label": "migrations", + "importPath": "django.db", + "description": "django.db", + "isExtraImport": true, + "detail": "django.db", + "documentation": {} + }, + { + "label": "models", + "importPath": "django.db", + "description": "django.db", + "isExtraImport": true, + "detail": "django.db", + "documentation": {} + }, + { + "label": "migrations", + "importPath": "django.db", + "description": "django.db", + "isExtraImport": true, + "detail": "django.db", + "documentation": {} + }, + { + "label": "models", + "importPath": "django.db", + "description": "django.db", + "isExtraImport": true, + "detail": "django.db", + "documentation": {} + }, + { + "label": "migrations", + "importPath": "django.db", + "description": "django.db", + "isExtraImport": true, + "detail": "django.db", + "documentation": {} + }, + { + "label": "models", + "importPath": "django.db", + "description": "django.db", + "isExtraImport": true, + "detail": "django.db", + "documentation": {} + }, + { + "label": "migrations", + "importPath": "django.db", + "description": "django.db", + "isExtraImport": true, + "detail": "django.db", + "documentation": {} + }, + { + "label": "models", + "importPath": "django.db", + "description": "django.db", + "isExtraImport": true, + "detail": "django.db", + "documentation": {} + }, { "label": "models", "importPath": "django.db", @@ -313,6 +401,14 @@ "detail": "django.db", "documentation": {} }, + { + "label": "migrations", + "importPath": "django.db", + "description": "django.db", + "isExtraImport": true, + "detail": "django.db", + "documentation": {} + }, { "label": "models", "importPath": "django.db", @@ -321,6 +417,23 @@ "detail": "django.db", "documentation": {} }, + { + "label": "models", + "importPath": "django.db", + "description": "django.db", + "isExtraImport": true, + "detail": "django.db", + "documentation": {} + }, + { + "label": "django.db.models.deletion", + "kind": 6, + "isExtraImport": true, + "importPath": "django.db.models.deletion", + "description": "django.db.models.deletion", + "detail": "django.db.models.deletion", + "documentation": {} + }, { "label": "AppConfig", "importPath": "django.apps", @@ -337,6 +450,23 @@ "detail": "django.apps", "documentation": {} }, + { + "label": "object.models", + "kind": 6, + "isExtraImport": true, + "importPath": "object.models", + "description": "object.models", + "detail": "object.models", + "documentation": {} + }, + { + "label": "Scene3D", + "importPath": "object.models", + "description": "object.models", + "isExtraImport": true, + "detail": "object.models", + "documentation": {} + }, { "label": "logging", "kind": 6, @@ -395,24 +525,6 @@ "detail": "django.core.validators", "documentation": {} }, - { - "label": "django.db.models.deletion", - "kind": 6, - "isExtraImport": true, - "importPath": "django.db.models.deletion", - "description": "django.db.models.deletion", - "detail": "django.db.models.deletion", - "documentation": {} - }, - { - "label": "object.models", - "kind": 6, - "isExtraImport": true, - "importPath": "object.models", - "description": "object.models", - "detail": "object.models", - "documentation": {} - }, { "label": "colorfield.fields", "kind": 6, @@ -694,7 +806,7 @@ "kind": 5, "importPath": "back.back.urls", "description": "back.back.urls", - "peekOfCode": "router = routers.DefaultRouter()\nrouter.register(r'api/front_img', frontimg_views.ImageViewSet)\nrouter.register(r'api/obj/scene', object_views.Scene3DViewSet)\nrouter.register(r'api/obj/element', object_views.Element3DViewSet)\nrouter.register(r'api/obj/clickable', object_views.ClickableAreaViewSet)\nurlpatterns = [\n path('', include(router.urls)),\n path(\"admin/\", admin.site.urls),\n] + static('/files', document_root='files')", + "peekOfCode": "router = routers.DefaultRouter()\nrouter.register(r'api/item', frontimg_views.ItemViewSet)\nrouter.register(r'api/front_img', frontimg_views.ImageViewSet)\nrouter.register(r'api/obj/scene', object_views.Scene3DViewSet)\nrouter.register(r'api/obj/element', object_views.Element3DViewSet)\nrouter.register(r'api/obj/clickable', object_views.ClickableAreaViewSet)\nurlpatterns = [\n path('', include(router.urls)),\n path(\"admin/\", admin.site.urls),\n] + static('/files', document_root='files')", "detail": "back.back.urls", "documentation": {} }, @@ -725,6 +837,69 @@ "detail": "back.frontImages.migrations.0001_initial", "documentation": {} }, + { + "label": "Migration", + "kind": 6, + "importPath": "back.frontImages.migrations.0002_item", + "description": "back.frontImages.migrations.0002_item", + "peekOfCode": "class Migration(migrations.Migration):\n dependencies = [\n ('frontImages', '0001_initial'),\n ('object', '0011_remove_element3d_parent_element3d_x_pos_and_more'),\n ]\n operations = [\n migrations.CreateModel(\n name='Item',\n fields=[\n ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),", + "detail": "back.frontImages.migrations.0002_item", + "documentation": {} + }, + { + "label": "Migration", + "kind": 6, + "importPath": "back.frontImages.migrations.0003_delete_item", + "description": "back.frontImages.migrations.0003_delete_item", + "peekOfCode": "class Migration(migrations.Migration):\n dependencies = [\n ('frontImages', '0002_item'),\n ]\n operations = [\n migrations.DeleteModel(\n name='Item',\n ),\n ]", + "detail": "back.frontImages.migrations.0003_delete_item", + "documentation": {} + }, + { + "label": "Migration", + "kind": 6, + "importPath": "back.frontImages.migrations.0004_item", + "description": "back.frontImages.migrations.0004_item", + "peekOfCode": "class Migration(migrations.Migration):\n dependencies = [\n ('frontImages', '0003_delete_item'),\n ('object', '0011_remove_element3d_parent_element3d_x_pos_and_more'),\n ]\n operations = [\n migrations.CreateModel(\n name='Item',\n fields=[\n ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),", + "detail": "back.frontImages.migrations.0004_item", + "documentation": {} + }, + { + "label": "Migration", + "kind": 6, + "importPath": "back.frontImages.migrations.0005_item_name", + "description": "back.frontImages.migrations.0005_item_name", + "peekOfCode": "class Migration(migrations.Migration):\n dependencies = [\n ('frontImages', '0004_item'),\n ]\n operations = [\n migrations.AddField(\n model_name='item',\n name='name',\n field=models.CharField(default='1'),\n preserve_default=False,", + "detail": "back.frontImages.migrations.0005_item_name", + "documentation": {} + }, + { + "label": "Migration", + "kind": 6, + "importPath": "back.frontImages.migrations.0006_item_is_front", + "description": "back.frontImages.migrations.0006_item_is_front", + "peekOfCode": "class Migration(migrations.Migration):\n dependencies = [\n ('frontImages', '0005_item_name'),\n ]\n operations = [\n migrations.AddField(\n model_name='item',\n name='is_front',\n field=models.BooleanField(default=True, unique=True),\n preserve_default=False,", + "detail": "back.frontImages.migrations.0006_item_is_front", + "documentation": {} + }, + { + "label": "Migration", + "kind": 6, + "importPath": "back.frontImages.migrations.0007_item_slug", + "description": "back.frontImages.migrations.0007_item_slug", + "peekOfCode": "class Migration(migrations.Migration):\n dependencies = [\n ('frontImages', '0006_item_is_front'),\n ]\n operations = [\n migrations.AddField(\n model_name='item',\n name='slug',\n field=models.SlugField(default='main'),\n preserve_default=False,", + "detail": "back.frontImages.migrations.0007_item_slug", + "documentation": {} + }, + { + "label": "ItemAdmin", + "kind": 6, + "importPath": "back.frontImages.admin", + "description": "back.frontImages.admin", + "peekOfCode": "class ItemAdmin(admin.ModelAdmin):\n filter_horizontal = (\"images\",)\nadmin.site.register(Image)\nadmin.site.register(Item, ItemAdmin)", + "detail": "back.frontImages.admin", + "documentation": {} + }, { "label": "FrontimagesConfig", "kind": 6, @@ -739,7 +914,16 @@ "kind": 6, "importPath": "back.frontImages.models", "description": "back.frontImages.models", - "peekOfCode": "class Image(models.Model):\n file = models.ImageField(upload_to=group_based_upload_to)\n alt = models.CharField(max_length=255)\n title = models.CharField(max_length=255)\n def __str__(self):\n return self.title", + "peekOfCode": "class Image(models.Model):\n file = models.ImageField(upload_to=group_based_upload_to)\n alt = models.CharField(max_length=255)\n title = models.CharField(max_length=255)\n def __str__(self):\n return self.title\nclass Item(models.Model):\n name = models.CharField()\n slug = models.SlugField(unique=True)\n images = models.ManyToManyField(Image)", + "detail": "back.frontImages.models", + "documentation": {} + }, + { + "label": "Item", + "kind": 6, + "importPath": "back.frontImages.models", + "description": "back.frontImages.models", + "peekOfCode": "class Item(models.Model):\n name = models.CharField()\n slug = models.SlugField(unique=True)\n images = models.ManyToManyField(Image)\n scene_3d = models.ForeignKey(Scene3D, on_delete=models.RESTRICT)\n is_front = models.BooleanField(unique=True)\n def __str__(self):\n return f\"{self.id} {self.name} {'Главная' if self.is_front else ''}\"", "detail": "back.frontImages.models", "documentation": {} }, @@ -766,7 +950,16 @@ "kind": 6, "importPath": "back.frontImages.serializers", "description": "back.frontImages.serializers", - "peekOfCode": "class ImageSerializer(serializers.ModelSerializer):\n file = serializers.ImageField(use_url=False)\n class Meta:\n model = Image\n fields = \"__all__\"", + "peekOfCode": "class ImageSerializer(serializers.ModelSerializer):\n file = serializers.ImageField(use_url=False)\n class Meta:\n model = Image\n fields = \"__all__\"\nclass ItemSerializer(serializers.ModelSerializer):\n images = ImageSerializer(many=True)\n class Meta:\n lookup_field = 'slug'\n model = Item", + "detail": "back.frontImages.serializers", + "documentation": {} + }, + { + "label": "ItemSerializer", + "kind": 6, + "importPath": "back.frontImages.serializers", + "description": "back.frontImages.serializers", + "peekOfCode": "class ItemSerializer(serializers.ModelSerializer):\n images = ImageSerializer(many=True)\n class Meta:\n lookup_field = 'slug'\n model = Item\n fields = \"__all__\"\n def validate_is_front(self, value):\n if value:\n # Если у нас is_active=True, проверяем, есть ли другой объект с True\n if Item.objects.filter(is_front=True).exists():", "detail": "back.frontImages.serializers", "documentation": {} }, @@ -775,7 +968,16 @@ "kind": 6, "importPath": "back.frontImages.views", "description": "back.frontImages.views", - "peekOfCode": "class ImageViewSet(viewsets.ModelViewSet):\n queryset = Image.objects.all()\n serializer_class = ImageSerializer", + "peekOfCode": "class ImageViewSet(viewsets.ModelViewSet):\n queryset = Image.objects.all()\n serializer_class = ImageSerializer\nclass ItemViewSet(viewsets.ModelViewSet):\n queryset = Item.objects.all()\n serializer_class = ItemSerializer\n lookup_field = 'slug'\n filterset_fields = ['is_front']", + "detail": "back.frontImages.views", + "documentation": {} + }, + { + "label": "ItemViewSet", + "kind": 6, + "importPath": "back.frontImages.views", + "description": "back.frontImages.views", + "peekOfCode": "class ItemViewSet(viewsets.ModelViewSet):\n queryset = Item.objects.all()\n serializer_class = ItemSerializer\n lookup_field = 'slug'\n filterset_fields = ['is_front']", "detail": "back.frontImages.views", "documentation": {} }, @@ -869,6 +1071,15 @@ "detail": "back.object.migrations.0010_environment_clear_color", "documentation": {} }, + { + "label": "Migration", + "kind": 6, + "importPath": "back.object.migrations.0011_remove_element3d_parent_element3d_x_pos_and_more", + "description": "back.object.migrations.0011_remove_element3d_parent_element3d_x_pos_and_more", + "peekOfCode": "class Migration(migrations.Migration):\n dependencies = [\n ('object', '0010_environment_clear_color'),\n ]\n operations = [\n migrations.RemoveField(\n model_name='element3d',\n name='parent',\n ),\n migrations.AddField(", + "detail": "back.object.migrations.0011_remove_element3d_parent_element3d_x_pos_and_more", + "documentation": {} + }, { "label": "Scene3DAdmin", "kind": 6, diff --git a/back/back/requirements.txt b/back/back/requirements.txt deleted file mode 100644 index 719a572..0000000 --- a/back/back/requirements.txt +++ /dev/null @@ -1,22 +0,0 @@ -asgiref==3.8.1 ; python_version >= "3.10" and python_version < "4.0" -colorama==0.4.6 ; python_version >= "3.10" and python_version < "4.0" -crispy-bootstrap4==2024.1 ; python_version >= "3.10" and python_version < "4.0" -django-cors-headers==4.3.1 ; python_version >= "3.10" and python_version < "4.0" -django-crispy-forms==2.2 ; python_version >= "3.10" and python_version < "4.0" -django-extensions==3.2.3 ; python_version >= "3.10" and python_version < "4.0" -django-filter==24.2 ; python_version >= "3.10" and python_version < "4.0" -django==5.0.6 ; python_version >= "3.10" and python_version < "4.0" -djangorestframework==3.15.1 ; python_version >= "3.10" and python_version < "4.0" -mslex==1.2.0 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32" -numpy==1.26.4 ; python_version >= "3.10" and python_version < "4.0" -opencv-python==4.9.0.80 ; python_version >= "3.10" and python_version < "4.0" -pillow==10.3.0 ; python_version >= "3.10" and python_version < "4.0" -potracer==0.0.4 ; python_version >= "3.10" and python_version < "4.0" -psutil==5.9.8 ; python_version >= "3.10" and python_version < "4.0" -psycopg2==2.9.9 ; python_version >= "3.10" and python_version < "4.0" -python-dotenv==1.0.1 ; python_version >= "3.10" and python_version < "4.0" -sqlparse==0.5.0 ; python_version >= "3.10" and python_version < "4.0" -taskipy==1.12.2 ; python_version >= "3.10" and python_version < "4.0" -tomli==2.0.1 ; python_version >= "3.10" and python_version < "4.0" -typing-extensions==4.11.0 ; python_version >= "3.10" and python_version < "3.11" -tzdata==2024.1 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32" diff --git a/back/back/urls.py b/back/back/urls.py index ee2f07b..19b31e3 100644 --- a/back/back/urls.py +++ b/back/back/urls.py @@ -24,6 +24,7 @@ from frontImages import views as frontimg_views from object import views as object_views router = routers.DefaultRouter() +router.register(r'api/item', frontimg_views.ItemViewSet) router.register(r'api/front_img', frontimg_views.ImageViewSet) router.register(r'api/obj/scene', object_views.Scene3DViewSet) router.register(r'api/obj/element', object_views.Element3DViewSet) diff --git a/back/frontImages/admin.py b/back/frontImages/admin.py index 21fb74f..0c53113 100644 --- a/back/frontImages/admin.py +++ b/back/frontImages/admin.py @@ -1,4 +1,9 @@ from django.contrib import admin -from .models import Image +from .models import Image, Item -admin.site.register(Image) \ No newline at end of file +class ItemAdmin(admin.ModelAdmin): + filter_horizontal = ("images",) + + +admin.site.register(Image) +admin.site.register(Item, ItemAdmin) diff --git a/back/frontImages/models.py b/back/frontImages/models.py index 1e9cc80..a55ce05 100644 --- a/back/frontImages/models.py +++ b/back/frontImages/models.py @@ -1,19 +1,32 @@ from django.db import models +from object.models import Scene3D import logging logger = logging.getLogger("root") + def group_based_upload_to(instance, filename): logger.info(instance) return "files/image/{}/{}/{}".format( type(instance).__name__.lower(), instance.id, filename ) - + class Image(models.Model): file = models.ImageField(upload_to=group_based_upload_to) alt = models.CharField(max_length=255) title = models.CharField(max_length=255) def __str__(self): - return self.title \ No newline at end of file + return self.title + + +class Item(models.Model): + name = models.CharField() + slug = models.SlugField(unique=True) + images = models.ManyToManyField(Image) + scene_3d = models.ForeignKey(Scene3D, on_delete=models.RESTRICT) + is_front = models.BooleanField(unique=True) + + def __str__(self): + return f"{self.id} {self.name} {'Главная' if self.is_front else ''}" diff --git a/back/frontImages/serializers.py b/back/frontImages/serializers.py index 9309b9b..fbdcee8 100644 --- a/back/frontImages/serializers.py +++ b/back/frontImages/serializers.py @@ -1,9 +1,27 @@ from rest_framework import serializers -from .models import Image +from .models import Image, Item class ImageSerializer(serializers.ModelSerializer): file = serializers.ImageField(use_url=False) + class Meta: model = Image fields = "__all__" + +class ItemSerializer(serializers.ModelSerializer): + images = ImageSerializer(many=True) + + class Meta: + lookup_field = 'slug' + model = Item + fields = "__all__" + + def validate_is_front(self, value): + if value: + # Если у нас is_active=True, проверяем, есть ли другой объект с True + if Item.objects.filter(is_front=True).exists(): + raise serializers.ValidationError( + "Только один элемент может иметь is_front=True." + ) + return value diff --git a/back/frontImages/views.py b/back/frontImages/views.py index bfeb0a1..ceab5c0 100644 --- a/back/frontImages/views.py +++ b/back/frontImages/views.py @@ -2,9 +2,15 @@ from django.shortcuts import render from rest_framework import viewsets -from .models import Image -from .serializers import ImageSerializer +from .models import Image, Item +from .serializers import ImageSerializer, ItemSerializer class ImageViewSet(viewsets.ModelViewSet): queryset = Image.objects.all() - serializer_class = ImageSerializer \ No newline at end of file + serializer_class = ImageSerializer + +class ItemViewSet(viewsets.ModelViewSet): + queryset = Item.objects.all() + serializer_class = ItemSerializer + lookup_field = 'slug' + filterset_fields = ['is_front'] \ No newline at end of file diff --git a/front/public/andrey.glb b/front/public/andrey.glb deleted file mode 100644 index 0168b7b..0000000 Binary files a/front/public/andrey.glb and /dev/null differ diff --git a/front/public/area_light.glb b/front/public/area_light.glb deleted file mode 100644 index 929a8bb..0000000 Binary files a/front/public/area_light.glb and /dev/null differ diff --git a/front/public/download.png b/front/public/download.png deleted file mode 100644 index 5f806d8..0000000 Binary files a/front/public/download.png and /dev/null differ diff --git a/front/public/ground.glb b/front/public/ground.glb deleted file mode 100644 index dd0bfc4..0000000 Binary files a/front/public/ground.glb and /dev/null differ diff --git a/front/public/mangal.glb b/front/public/mangal.glb deleted file mode 100644 index ca30271..0000000 Binary files a/front/public/mangal.glb and /dev/null differ diff --git a/front/public/picture_02.jpg b/front/public/picture_02.jpg deleted file mode 100644 index af42be2..0000000 Binary files a/front/public/picture_02.jpg and /dev/null differ diff --git a/front/public/pillar.glb b/front/public/pillar.glb deleted file mode 100644 index c8ef042..0000000 Binary files a/front/public/pillar.glb and /dev/null differ diff --git a/front/public/pointer.glb b/front/public/pointer.glb deleted file mode 100644 index 0fa9229..0000000 Binary files a/front/public/pointer.glb and /dev/null differ diff --git a/front/public/quad.glb b/front/public/quad.glb deleted file mode 100644 index 4a77e71..0000000 Binary files a/front/public/quad.glb and /dev/null differ diff --git a/front/public/sea.ogg b/front/public/sea.ogg deleted file mode 100644 index 56b6fe6..0000000 Binary files a/front/public/sea.ogg and /dev/null differ diff --git a/front/public/spot_light.glb b/front/public/spot_light.glb deleted file mode 100644 index 3cb9904..0000000 Binary files a/front/public/spot_light.glb and /dev/null differ diff --git a/front/public/vite.svg b/front/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/front/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/front/public/walkway.glb b/front/public/walkway.glb deleted file mode 100644 index b3ffd3d..0000000 Binary files a/front/public/walkway.glb and /dev/null differ diff --git a/front/src/assets/main.scss b/front/src/assets/main.scss index b45248e..1698817 100644 --- a/front/src/assets/main.scss +++ b/front/src/assets/main.scss @@ -1,35 +1,5 @@ @import 'grid.scss'; -// #06bcb3 -// #e6d787 -// #048280 -// #a47f62 -// #b1abd4 -// #304c5a - -.nav { - display: flex; - flex-direction: column; - position: fixed; - top: 0; - left: 0; - bottom: 0; - padding: 1rem; - max-width: 2rem; - font-size: 2rem; - background-color: #fff; - box-shadow: 0 0 4px rgba(#000, 0.5); - - z-index: 100; - - @media(max-width: 768px) { - display: none; - } -} -body { - padding-left: 2.5rem; -} - a[href] { color: #048280; diff --git a/front/src/components/Promo/gallery.vue b/front/src/components/Promo/gallery.vue index a395a71..4abef15 100644 --- a/front/src/components/Promo/gallery.vue +++ b/front/src/components/Promo/gallery.vue @@ -1,11 +1,13 @@ \ No newline at end of file diff --git a/front/src/components/Promo/main.vue b/front/src/components/Promo/main.vue index 93e9f05..af07571 100644 --- a/front/src/components/Promo/main.vue +++ b/front/src/components/Promo/main.vue @@ -72,7 +72,7 @@ watch(() => route.params.target, () => { - + diff --git a/front/src/components/Promo/modelItem.vue b/front/src/components/Promo/modelItem.vue deleted file mode 100644 index a053fa5..0000000 --- a/front/src/components/Promo/modelItem.vue +++ /dev/null @@ -1,27 +0,0 @@ - - \ No newline at end of file diff --git a/front/src/components/Promo/models.vue b/front/src/components/Promo/models.vue deleted file mode 100644 index e0eec06..0000000 --- a/front/src/components/Promo/models.vue +++ /dev/null @@ -1,69 +0,0 @@ - - \ No newline at end of file diff --git a/front/src/components/Promo/sidebar.vue b/front/src/components/Promo/sidebar.vue index d7a1a45..1184a69 100644 --- a/front/src/components/Promo/sidebar.vue +++ b/front/src/components/Promo/sidebar.vue @@ -23,7 +23,7 @@ const sidebar_obj = ref()

{{ p }}

- + {{ sidebar.target_name }} diff --git a/front/src/main.ts b/front/src/main.ts index 01fdc03..3a3547c 100644 --- a/front/src/main.ts +++ b/front/src/main.ts @@ -5,17 +5,13 @@ import { createWebHistory, createRouter } from 'vue-router' import './assets/main.scss' import App from './App.vue' -import Home from './components/Home.vue' import Promo from './components/Promo/index.vue' import PromoMain from './components/Promo/main.vue' -import PromoItem from './components/Promo/item.vue' const routes = [ - { path: '/', component: Home }, - { path: '/promo', component: Promo }, - { path: '/promo/:page', component: PromoMain }, - { path: '/promo/:page/:target', component: PromoMain }, - { path: '/promo/:page/item/:name', component: PromoItem }, + { path: '/', component: Promo }, + { path: '/:item', component: Promo }, + { path: '/:item/:target', component: PromoMain }, ] const router = createRouter({ diff --git a/front/vite.config.ts b/front/vite.config.ts index 472d6e0..8338b15 100644 --- a/front/vite.config.ts +++ b/front/vite.config.ts @@ -20,14 +20,6 @@ export default defineConfig({ }), Icons(), svgLoader(), - viteStaticCopy({ - targets: [ - { - src: 'src/assets/promo/models/quadro/*.jpg', - dest: 'assets' - } - ] - }) ], assetsInclude: ['**/*.fbx','**/*.glb', '**/*.gltf', '**/*.hdr'], })