1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-23 20:02:32 +08:00
This commit is contained in:
Kevin Levron 2021-04-22 14:09:44 +02:00
parent d86b243df6
commit 98c6430d65
2 changed files with 4 additions and 2 deletions

View File

@ -42,6 +42,7 @@ const Mesh = defineComponent({
}
},
mounted() {
// TODO : proper ?
if (!this.mesh && !this.loading) this.initMesh()
},
methods: {

View File

@ -5,7 +5,8 @@
// this enables stricter inference for data properties on `this`
"strict": true,
"moduleResolution": "node",
"sourceMap": true,
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"exclude": [ "node_modules" ]
"include": ["src/**/*.ts", "src/**/*.vue"],
"exclude": ["node_modules", "src/App.vue"]
}