This repository was archived by the owner on Jan 28, 2025. It is now read-only.
Description Error: too much recursion!
This bug generates when splitting the code into separate components for organizing code
Minimally Reproducible Example
just a basic example:
<scene >
<Camera type="arcRotate" :radius="10" :beta="Math.PI / 4" />
<HemisphericLight>
<property name="intensity" :float="1" />
</HemisphericLight>
<Ground :options="{ width: 10, height: 10, subdivisions: 4 }">
<physics />
</Ground>
</scene >
I would like to split the ground for example:
<!-- Ground.vue -->
<Ground :options =" { width: 10 , height: 10 , subdivisions: 4 } " >
<physics />
</Ground >
and importing in the main comp:
<template >
<scene >
<Camera type="arcRotate" :radius =" 10 " :beta =" Math .PI / 4 " />
<HemisphericLight >
<property name =" intensity" :float =" 1" />
</HemisphericLight >
<Ground />
</scene >
</template >
<script lang="ts">
import { Component , Prop , Vue } from ' vue-property-decorator' ;
import Ground from ' ./Ground.vue' ;
@Component ({
components: {
Ground
},
})
export default class HelloWorld extends Vue {}
</script >
Expected behavior
A normal import for the component
Environment (please complete the following information):
Device: [Desktop]
OS: [Windows10 64bit]
Browser [e.g. chrome, safari, firefox]
Reactions are currently unavailable
Error: too much recursion!
This bug generates when splitting the code into separate components for organizing code
Minimally Reproducible Example
just a basic example:
I would like to split the ground for example:
and importing in the main comp:
Expected behavior
A normal import for the component
Environment (please complete the following information):