Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue3 simple import triggers error #47

Open
Timoses opened this issue Jun 4, 2022 · 0 comments
Open

Vue3 simple import triggers error #47

Timoses opened this issue Jun 4, 2022 · 0 comments

Comments

@Timoses
Copy link

Timoses commented Jun 4, 2022

Expected Behavior

(description)
I'd not expect vuejs-progress-bar index.js to throw an error.

Actual Behavior

(description)

It does:

Uncaught TypeError: external_commonjs_vue_commonjs2_vue_root_Vue_default() is undefined
    js index.js:5
    js vuejs-progress-bar.js:3343
    js vuejs-progress-bar.js:3345
    webpackUniversalModuleDefinition universalModuleDefinition:3
    js universalModuleDefinition:10
    __require chunk-OL3AADLO.js:9
    <anonymous> vuejs-progress-bar:1
index.js:5

Steps to Reproduce the Problem

  1. npm init vue@latest
  2. cd vue-project/
  3. npm install vuejs-progress-bar
  4. Add import ProgressBar from 'vuejs-progress-bar'
  5. npm run dev
  6. Open console in browser

Specifications

> npm list
[email protected] /Users/Timoses/code/vmf/vmf/test/vue-project
├── @vitejs/[email protected]
├── [email protected]
├── [email protected]
└── [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant