jbaysolutions / vue-grid-layout

A draggable and resizable grid layout, for Vue.js.
https://jbaysolutions.github.io/vue-grid-layout/
MIT License
7.12k stars 1.51k forks source link

"export 'GridLayout' was not found in 'vue-grid-layout' #732

Open wjsdawn opened 1 year ago

wjsdawn commented 1 year ago

vue:2.5.2 vue-grid-layout:2.4.0 browser:chrome Describe the bug The vue-grid-layout doesn't seem to be exporting anything, therefore vue fails run the project with error message: "export 'GridLayout' was not found in 'vue-grid-layout'

tzm5201314 commented 1 year ago

The same thing happened to me.

jvjvjv commented 1 year ago

Can you provide some source code for us to review? I can't seem to write any code to reproduce this problem.

cyrilluce commented 1 year ago

ref to build config: https://github.com/jbaysolutions/vue-grid-layout/blob/master/vue.config.js#L14

The cjs/umd exports ONLY export default, which is install() plugin.

CoderQuixote commented 2 months ago

why