about why components used by iview in < route-view > cannot contain layout elements < Content > < / Content > or the console will report an error Maximum call stack size exceeded. For these layout tags element-ui, this problem does not exist at all. Why does iview have memory overflow?
the project is built through vue-cli.
the following figure is part of App.vue, using different components via routing.
Content.vue, template. iview
.
I would like to ask from what angle this question should be considered. It feels strange and strange. It is normal to use a component. I just added a html tag encapsulated by iview in the component, and this problem will occur in iview.