'Maximum call stack size exceeded' wrong solution

Today open vue project, a blank page reported an error, the error is as follows:

"Maximum call stack size exceeded" error literally means: exceeding the maximum size of the call stack.

Then it is a variety of Baidu, looking for the wrong reasons. Baidu a lot of articles, some due to the router inside path statement, some undefined variables, and some is due to the recursive function

Generate an infinite loop. I took all the investigation, or this wrong.

Until I Baidu to an article because he introduced swiper plug, quoted in the assembly, the assembly name and is Swiper, due to the plug-in name and swiper same name, so

Report this error.

Then I remembered I quoted Baidu map plug-ins, there may be reasons for this,

Sure, this is really the reason, then I put the name change is not being given a map.

All said, after the introduction to the components inside the plug, do not pay attention to name declared as a plug-in name.

 

Guess you like

Origin www.cnblogs.com/zr123/p/11295570.html