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

有demo项目的源码嘛 #541

Closed
188867052 opened this issue Aug 28, 2020 · 6 comments
Closed

有demo项目的源码嘛 #541

188867052 opened this issue Aug 28, 2020 · 6 comments

Comments

@188867052
Copy link

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.
Example: I am trying to do [...] but [...]

Describe the solution you'd like

A clear and concise description of what you want to happen. Include any alternative solutions you've considered.

Additional context

Add any other context or screenshots about the feature request here.

@188867052 188867052 changed the title 有demo源码嘛 有demo项目的源码嘛 Aug 28, 2020
@ElderJames
Copy link
Member

你好,不知道你是指哪个demo?
文档里的都有源码

@188867052
Copy link
Author

就是类似于
#335
这里面项目的源码,一个demo就行,想看看使用中有没有什么问题,可以的话就采用这个

@ElderJames
Copy link
Member

这个issue 是其他用户的项目,可以看看有没有开源的。
我们还做了Ant Design Pro模板,虽然还没完成,但是可以直接使用。

@188867052
Copy link
Author

好的 多谢 我看看

@188867052
Copy link
Author

你好我看AntDesign.Pro项目编译的时候还需要运行npm,能解除对npm的依赖嘛

@ElderJames
Copy link
Member

ElderJames commented Aug 28, 2020

依赖npm主要有两个原因:

  1. Pro中less文件依赖 ant design 的less文件(引用了变量),所以要安装antd的源码包。
  2. less的编译,目前windows上可以用WebCompiler,但需要把源码包下载下来。

解决方案可能是把组件库中的less文件打包到nuget包中,并使用WebCompiler编译。
如果你可以帮忙解决,欢迎PR!

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

No branches or pull requests

2 participants