Skip to content
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

As official create-react-app with antd-mobile,there is no icon/style/assets folder,can not show the icons #1501

Closed
badkk opened this issue Jun 28, 2017 · 5 comments
Assignees
Labels

Comments

@badkk
Copy link

badkk commented Jun 28, 2017

Version

1.4.0

Environment

mac os10.12.5, chrome 59.0.3071.109, react 15.6.1, antd-mobile 1.4.0, svg-sprite-loader 0.3.1

Reproduction link

https://codepen.io/anon/pen/RgxVze

Steps to reproduce

  1. steps:https://mobile.ant.design/docs/react/use-with-create-react-app
  2. No icon/style/assets downloaded with yarn add

What is expected?

show icons

What is actually happening?

no icons

@ant-design-bot
Copy link

It will be better to write your issue/comment in English, so more people can understand you.
And this means that more people can help you or benefit from your issue/comment.
See: ant-design/ant-design#4897

@badkk badkk changed the title 正常添加后,node_module下icon没有assets,无法正常显示icon As official *create-react-app* with antd-mobile,there is no icon/style/assets folder,can not show the icons Jun 29, 2017
@badkk badkk changed the title As official *create-react-app* with antd-mobile,there is no icon/style/assets folder,can not show the icons As official create-react-app with antd-mobile,there is no icon/style/assets folder,can not show the icons Jun 29, 2017
@badkk
Copy link
Author

badkk commented Jun 29, 2017

问题解决了,create-react-app的file-loader和svg-sprite-loader有冲突,感觉是个bug,你们可以follow一下。

@badkk badkk closed this as completed Jun 29, 2017
@paranoidjk
Copy link
Contributor

@silentcloud 文档里突出要exclude file loader了吗?这个问题印象中有两个issue了

@silentcloud
Copy link
Contributor

@paranoidjk web 的文档你再 check 一下吧,看看有没有什么要补充或者不对的地方

@paranoidjk paranoidjk reopened this Jun 29, 2017
@paranoidjk paranoidjk self-assigned this Jun 29, 2017
@paranoidjk paranoidjk added the doc label Jun 29, 2017
@paranoidjk
Copy link
Contributor

#1413

lixiaoyang1992 pushed a commit to lixiaoyang1992/ant-design-mobile that referenced this issue Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants