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() { mounted() {
// TODO : proper ?
if (!this.mesh && !this.loading) this.initMesh() if (!this.mesh && !this.loading) this.initMesh()
}, },
methods: { methods: {

View File

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