Global functions will override local functions
Version
3.0.5
Reproduction link
https://codesandbox.io/s/admiring-hermann-v6iop
Steps to reproduce
The global function is in main.js
, the same name local function is in HelloWorld.vue
. The HelloWorld.vue
is async imported, used to simulate routes.
What is expected?
Local functions should be executed
What is actually happening?
Global functions are executed