New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用ConfigProvider组件引起Maximum call stack size exceeded #2887
Comments
-- createApp(App).provide(ConfigProvider).use(Button).mount('#app')
++ createApp(App).use(ConfigProvider).use(Button).mount('#app')
|
@sendya 奇怪的是为何我把 ant-design-vue 卸载掉,相关内容删掉,为何启动还报这个错呢? |
为何还报错就要问你自己了,环境在你那边 也不再我们这。 |
App 引入 App ? 看不懂你的操作 |
卧槽,我SB了,无脑复制粘贴官方文档内容,没意识到内部又引入了 ,丢脸啊。。。 |
老哥怎么解决的, 我整体antd引入也有这个问题 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
2.0.0-beta.5
Environment
vue3,vue-cli 4.5.6
Reproduction link
Steps to reproduce
使用vue-cli 4.5.6搭建环境,选择vue3,然后照着官方文档引入ant-design-vue,一开始正常,直到引入ConfigProvider组件,发现浏览器报栈溢出,把它去掉刷新还是报栈溢出:
最可怕的是把 ant-design-vue 卸载后,相关配置删掉,再启动还报这个错误!是不是使用 ConfigProvider 这个组件后不管成功失败都会修改环境代码?
What is expected?
正常运行
What is actually happening?
Maximum call stack size exceeded
The text was updated successfully, but these errors were encountered: