环境: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)"
环境:macOS Big Sur,node 14.16.1, @vue/cli 4.5.12 执行过程
编译警告
浏览器中报错![1618337660843](https://user-images.githubusercontent.com/29733517/114600705-36fe6a00-9cc7-11eb-9218-25bf8c13a17d.jpg)
[Vue warn]: Error in render: "TypeError: vue.openBlock is not a function. (In 'vue.openBlock()', 'vue.openBlock' is undefined)"