Skip to content

Commit

Permalink
Update build files
Browse files Browse the repository at this point in the history
  • Loading branch information
king2088 committed Mar 26, 2024
1 parent d53dae4 commit bb70b6e
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 66 deletions.
2 changes: 1 addition & 1 deletion dist/style.css

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

56 changes: 28 additions & 28 deletions dist/vue-3d-loader.cjs.js

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions dist/vue-3d-loader.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -40828,7 +40828,7 @@ const _sfc_main = defineComponent({
"process",
"error"
],
setup(__props, { emit }) {
setup(__props, { expose, emit }) {
const props = __props;
let object = null;
const raycaster = new Raycaster();
Expand Down Expand Up @@ -41589,6 +41589,10 @@ const _sfc_main = defineComponent({
}
});
}
expose({
camera,
scene
});
return (_ctx, _cache) => {
return openBlock(), createElementBlock("div", {
ref_key: "containerElement",
Expand All @@ -41604,7 +41608,7 @@ const _sfc_main = defineComponent({
};
}
});
var vue3dLoader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cbdef4f6"]]);
var vue3dLoader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-550d01bf"]]);
const install = (app) => {
app.component(vue3dLoader.name, vue3dLoader);
};
Expand Down
66 changes: 33 additions & 33 deletions dist/vue-3d-loader.global.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/examples/load-a-model.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
ref="vueRef"
/>
</template>
<script setup>
<script setup lang="ts">
import { nextTick, onMounted, ref } from "vue";
const vueRef = ref(null);
const vueRef = ref<any>(null);
onMounted(() => {
console.log(vueRef.value.camera);
// console.log(vue2Ref.value);
Expand Down

0 comments on commit bb70b6e

Please sign in to comment.