Skip to content

Conversation

xuanhen2013
Copy link
Contributor

No description provided.

@ponjs
Copy link

ponjs commented Oct 21, 2024

@aibayanyu20 麻烦官方大大抓紧处理下,不然现在一个简单的 Button 组件就引入这么多资源

image

@markthree
Copy link
Contributor

@xuanhen2013 @ponjs

已发布该 pr

先安装

npm i https://pkg.pr.new/markthree/ant-design-vue-nuxt/@ant-design-vue/nuxt@6d3a694

然后清掉 .nuxt

再重启服务即可

@aibayanyu20 aibayanyu20 merged commit 2a727a8 into vueComponent:main Oct 23, 2024
@n0099
Copy link

n0099 commented Oct 24, 2024

对我而言反而是1.4.4中不会这样,升1.4.5后就像 #66 那样
还需要使用[email protected]而非3.13.2

@xuanhen2013
Copy link
Contributor Author

对我而言反而是1.4.4中不会这样,升1.4.5后就像 #66 那样 还需要使用[email protected]而非3.13.2

删除 nuxt.config.tsvite.optimizeDeps.include 中关于 ant-design-vue@ant-design/vue-icons 的配置

@n0099
Copy link

n0099 commented Oct 25, 2024

没有#66 (comment) 那样设过vite.optimizeDeps.include

@xuanhen2013
Copy link
Contributor Author

没有#66 (comment) 那样设过vite.optimizeDeps.include

参考一下 #68 增加一下 alias 临时处理一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants