vue-grid-layout icon indicating copy to clipboard operation
vue-grid-layout copied to clipboard

Vue3.0报错TypeError: external_commonjs_vue_commonjs2_vue_root_Vue_default.a is not a constructor

Open GeniusJerry opened this issue 3 years ago • 6 comments

Software version (please complete the following information):

  • Browser [e.g. chrome, safari]
  • Vue Version [e.g. 2.5.7]
  • vue-grid-layout Version: [e.g. 2.3.3]

Describe the bug A clear and concise description of what the bug is.

Please use the CodeSandbox Template to demonstrate your bug. It is much easier for us to help you if you do.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

GeniusJerry avatar Sep 03 '21 03:09 GeniusJerry

same problem, holy shit

joey998 avatar Oct 28 '22 09:10 joey998

are you using vue 3?

ishaiavrahami avatar Nov 13 '22 09:11 ishaiavrahami

yes

GeniusJerry avatar Nov 13 '22 10:11 GeniusJerry

Use this - 3.0.0 Beta

https://www.npmjs.com/package/vue-grid-layout/v/3.0.0-beta1

or (if you are using browser )

https://unpkg.com/browse/[email protected]/dist/vue-grid-layout.umd.js

ishaiavrahami avatar Nov 13 '22 20:11 ishaiavrahami

使用这个 - 3.0.0 Beta

https://www.npmjs.com/package/vue-grid-layout/v/3.0.0-beta1

或(如果您使用的是浏览器)

https://unpkg.com/browse/[email protected]/dist/vue-grid-layout.umd.js

3.0.0-beta1 Usage documentation Where can I find it?

Eyran avatar Jan 08 '24 09:01 Eyran

same docs https://jbaysolutions.github.io/vue-grid-layout/guide/#npm @Eyran

ishaiavrahami avatar Jan 08 '24 09:01 ishaiavrahami