- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 8.9k
 
Closed
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: custom elements
Description
Vue version
3.2.45
Link to minimal reproduction
https://github.com/funkso2010/vue3-cus-el-emit
Steps to reproduce
Pull project locally.
npm install  (this installs the latest vue version)
npm run preview
What is expected?
dist/index.html
for both buttons to trigger console.log()
What is actually happening?
A button that uses defineAsyncComponent is not firing console.log()
System Info
System:
    OS: macOS 12.6
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 1.05 GB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 14.20.0 - /usr/local/bin/node
    Yarn: 1.22.17 - ~/.npm-global/bin/yarn
    npm: 6.14.17 - /usr/local/bin/npm
  Browsers:
    Chrome: 108.0.5359.94
    Safari: 16.1Any additional comments?
This is intended for breaking large library into small files, instead of loading one giant file.
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: custom elements