alvarosabu 2 rokov pred
rodič
commit
cc11bc27c6

+ 1 - 1
.eslintignore

@@ -1,4 +1,4 @@
-packages/**/dist
+dist
 **.spec.js
 **.test.ts
 **.test.js

+ 0 - 0
.eslintrc.js → .eslintrc.cjs


+ 1 - 1
src/demos/AkuAku.vue

@@ -1,6 +1,6 @@
 <script setup lang="ts">
 import { useTweakPane, useGLTF } from '@tresjs/cientos'
-import { inject, ref, watch, watchEffect } from 'vue'
+import { inject, ref, watch } from 'vue'
 
 useTweakPane()
 

+ 1 - 1
src/demos/AnimatedModel.vue

@@ -1,7 +1,7 @@
 <script setup lang="ts">
 import { Color, sRGBEncoding } from 'three'
 
-/* import { OrbitControls, useTweakPane, useGLTF, useAnimations } from '../../../cientos/src/' */
+/* import { OrbitControls, useTweakPane, useGLTF, useAnimations } from '@tresjs/cientos/' */
 import { OrbitControls, useTweakPane, useGLTF, useAnimations } from '@tresjs/cientos'
 
 const bgColor = new Color('#F78B3D')

+ 1 - 1
src/demos/FBXModels.vue

@@ -2,7 +2,7 @@
 import { ref, watch } from 'vue'
 import { Color, sRGBEncoding } from 'three'
 import { TresCanvas } from '../components/TresCanvas'
-import { OrbitControls, useTweakPane, FBXModel, useFBX } from '../../../cientos/src/'
+import { OrbitControls, useTweakPane, FBXModel, useFBX } from '@tresjs/cientos/'
 
 const bgColor = new Color('#F78B3D')
 useTweakPane()

+ 1 - 1
src/demos/TheEnvironment.vue

@@ -1,6 +1,6 @@
 <script setup lang="ts">
 import { ref, shallowRef, watch } from 'vue'
-import { Environment, Box, PamCameraMouse } from '../../../cientos/src'
+import { Environment, Box, PamCameraMouse } from '@tresjs/cientos'
 import { TresCanvas } from '../core/useRenderer/component'
 /* import { OrbitControls, GLTFModel } from '@tresjs/cientos' */
 

+ 1 - 1
src/demos/TheExperience.vue

@@ -14,7 +14,7 @@ import {
   CustomToneMapping,
 } from 'three'
 import { reactive, ref } from 'vue'
-import { OrbitControls, useTweakPane, TransformControls } from '../../../cientos/src/'
+import { OrbitControls, useTweakPane, TransformControls } from '@tresjs/cientos/'
 import { useCamera } from '../core'
 import { TresCanvas } from '../core/useRenderer/component'
 /* import { OrbitControls, GLTFModel } from '@tresjs/cientos' */

+ 1 - 1
src/demos/TheGizmos.vue

@@ -2,7 +2,7 @@
 import { shallowRef, shallowReactive } from 'vue'
 import { BasicShadowMap, sRGBEncoding, NoToneMapping } from 'three'
 import { TresCanvas } from '../components/TresCanvas'
-import { OrbitControls, useTweakPane, TransformControls } from '../../../cientos/src'
+import { OrbitControls, useTweakPane } from '@tresjs/cientos'
 
 const state = shallowReactive({
   clearColor: '#201919',

+ 1 - 1
src/demos/TheGroups.vue

@@ -1,7 +1,7 @@
 <script setup lang="ts">
 import { useRenderLoop } from '/@/composables/useRenderLoop'
 import { ref } from 'vue'
-import { OrbitControls } from '../../../cientos/src/'
+import { OrbitControls } from '@tresjs/cientos/'
 
 const { onLoop } = useRenderLoop()
 

+ 1 - 1
src/demos/TheSmallExperience.vue

@@ -1,5 +1,5 @@
 <script setup lang="ts">
-import { OrbitControls } from '../../../cientos/src/'
+import { OrbitControls } from '@tresjs/cientos/'
 </script>
 <template>
   <div class="container">