-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
Discussed in #6561
Originally posted by alefemoreira May 11, 2023
I am update Vue from v2 to v3 and, therefore, update from ant-design-vue v1 to v3.
In update processing I get this error:
configProvider is undefined
_default@webpack-internal:///./node_modules/ant-design-vue/lib/_util/hooks/useConfigInject.js:74:5
Empty@webpack-internal:///./node_modules/ant-design-vue/lib/empty/empty.js:11:56
convertLegacyAsyncComponent@webpack-internal:///./node_modules/@vue/compat/dist/vue.runtime.esm-bundler.js:10068:21
convertLegacyComponent@webpack-internal:///./node_modules/@vue/compat/dist/vue.runtime.esm-bundler.js:10105:16
_createVNode@webpack-internal:///./node_modules/@vue/compat/dist/vue.runtime.esm-bundler.js:10345:16
createVNodeWithArgsTransform@webpack-internal:///./node_modules/@vue/compat/dist/vue.runtime.esm-bundler.js:10230:12
@webpack-internal:///./node_modules/ant-design-vue/lib/empty/index.js:21:44
./node_modules/ant-design-vue/lib/empty/index.js@http://localhost:4001/js/chunk-vendors.js:4150:1
__webpack_require__@http://localhost:4001/js/app.js:4066:33
fn@http://localhost:4001/js/app.js:4333:21
@webpack-internal:///./src/main.js:4:102
./src/main.js@http://localhost:4001/js/app.js:718:1
__webpack_require__@http://localhost:4001/js/app.js:4066:33
__webpack_exports__<@http://localhost:4001/js/app.js:5258:109
__webpack_require__.O@http://localhost:4001/js/app.js:4115:23
@http://localhost:4001/js/app.js:5259:53
@http://localhost:4001/js/app.js:5261:12
It try to register it in Vue app, as below, but nothing happen.
Vue.use(ConfigProvider);
Does someone know this error ?