string'root'By default, the root element is included in the HTML template for component mounting. The element id can be modified through mountId.
Set the id to app:
After compilation:
After modifying mountId, if there is logic in your code to obtain the root root node, please update the corresponding value:
If you've customized the HTML template, please make sure that the template contains <div id="<%= mountId %>"></div>, otherwise the mountId config will not take effect.