wenzhixin / bootstrap-table-examples

Bootstrap table examples
https://examples.bootstrap-table.com/
MIT License
2.24k stars 1.62k forks source link

vue-starter 出现 "export 'openBlock' was not found in 'vue' #434

Closed macdoor closed 2 years ago

macdoor commented 3 years ago

环境:macOS Big Sur,node 14.16.1, @vue/cli 4.5.12 执行过程

git clone https://github.com/wenzhixin/bootstrap-table-examples
cd bootstrap-table-examples/vue-starter
npm install
npm run serve

编译警告

 WARNING  Compiled with 2 warnings                                                                                                                                                 

 warning  in ./node_modules/bootstrap-table/dist/bootstrap-table-vue.esm.js

"export 'createBlock' was not found in 'vue'

 warning  in ./node_modules/bootstrap-table/dist/bootstrap-table-vue.esm.js

"export 'openBlock' was not found in 'vue'

浏览器中报错 [Vue warn]: Error in render: "TypeError: vue.openBlock is not a function. (In 'vue.openBlock()', 'vue.openBlock' is undefined)" 1618337660843

macdoor commented 3 years ago

又在centos 7上用yarn安装,也遇到同样问题

macdoor commented 3 years ago

指定安装 1.18.2 执行正常,1.18.3 是不是支持 vue 3 的?

wenzhixin commented 2 years ago

1.19.0 已修复,之前编译为 vue 3 的了。

selfstduy commented 1 year ago

1.19.0 已修复,之前编译为 vue 3 的了。

请问1.19.0是什么版本呀