Skip to content

https://antdv.com/docs/vue/use-with-vue-cli-cn/文档错误 #2514

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

Closed
1 task
jonny-xhl opened this issue Jul 2, 2020 · 1 comment
Closed
1 task

https://antdv.com/docs/vue/use-with-vue-cli-cn/文档错误 #2514

jonny-xhl opened this issue Jul 2, 2020 · 1 comment
Labels

Comments

@jonny-xhl
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.6.1

Environment

win10,chrome,4.4.6

Reproduction link

https://antdv.com/docs/vue/use-with-vue-cli-cn/

Steps to reproduce

跟着官方文档操作安装babel-plugin-import时在babel.config.js文件中配置:

plugins: [
[
"import",
{ libraryName: "ant-design-vue", libraryDirectory: "es", style: true}
]
]

最后使用

yarn serve

启动会编译错误(Failed to resolve loader: less-loader)
最后改为style: "css"就没有问题。
请问下这是怎么回事?

What is expected?

若有什么问题希望对官方文档进行说明或更正下

What is actually happening?

yarn serve错误

@github-actions
Copy link

github-actions bot commented Jul 7, 2021

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant