mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 22:49:31 -07:00
refactor(vue): remove unnecessary defineProps import
The `defineProps` macro is automatically available in `<script setup>` and no longer needs to be imported. This commit removes the redundant import statements to align with modern Vue best practices and resolve compiler warnings.
This commit is contained in:
@@ -26,7 +26,7 @@ import {
|
||||
type WebGLRendererParameters
|
||||
} from 'three';
|
||||
import { RoomEnvironment } from 'three/examples/jsm/environments/RoomEnvironment.js';
|
||||
import { defineProps, onMounted, onUnmounted, ref } from 'vue';
|
||||
import { onMounted, onUnmounted, ref } from 'vue';
|
||||
|
||||
gsap.registerPlugin(Observer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user