Subscribe on changes!

mount's params warn tip

avatar
Dec 2nd 2020

Version

3.0.3

Reproduction link

https://codesandbox.io/s/practical-ptolemy-mmb0b?file=/src/main.js

Steps to reproduce

I noticed that when using createApp().mount({}, '#app') in a old wrong way, there is not any humanized tips. And this is a bit inconvenient for troubleshooting.

What is expected?

Tip params error and throw an error

What is actually happening?

no tips, just throw that Cannot read property 'render' of undefined