Skip to content

Commit

Permalink
Merge pull request #103 from Tresjs/bugfix/docs-build-netlify-issue
Browse files Browse the repository at this point in the history
fix: docs build netlify issue
  • Loading branch information
alvarosabu authored Jun 23, 2023
2 parents 64f7b4f + 2e2f2f6 commit c73cdda
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
4 changes: 1 addition & 3 deletions docs/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
import '@vue/runtime-core'

export {}

declare module '@vue/runtime-core' {
declare module 'vue' {
export interface GlobalComponents {
Feather: typeof import('./.vitepress/theme/components/Feather.vue')['default']
LeviosoDemo: typeof import('./.vitepress/theme/components/LeviosoDemo.vue')['default']
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/controls/orbit-controls.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ It just works. 💯
```vue{3}
<template>
<TresCanvas shadows alpha>
<TresPerspectiveCamera :args="[45, 1, 0.1, 1000] />
<TresPerspectiveCamera :args="[45, 1, 0.1, 1000]" />
<OrbitControls />
</TresCanvas>
Expand Down
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"vitepress": "1.0.0-beta.1"
},
"dependencies": {
"@tresjs/cientos": "workspace:^",
"gsap": "^3.11.5"
}
}
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/core/abstractions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Precipitation from './Precipitation.vue'
import Smoke from './Smoke.vue'
import Levioso from './Levioso.vue'
import ContactShadows from './ContactShadows.vue'
import { useProgress } from './useProgress'

export * from './useParallax'
export * from './useEnvironment'
Expand All @@ -21,5 +20,4 @@ export {
Levioso,
ContactShadows,
Precipitation,
useProgress,
}
3 changes: 2 additions & 1 deletion src/core/loaders/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ import GLTFModel from './useGLTF/component.vue'
import FBXModel from './useFBX/component.vue'
export * from './useGLTF'
export * from './useFBX'
import { useProgress } from './useProgress'

export { FBXModel, GLTFModel }
export { FBXModel, GLTFModel, useProgress }

0 comments on commit c73cdda

Please sign in to comment.