Comments (6)
自行部署到合适的位置(例如 cdn),和普通的 js 一样的用法,会暴露全局变量 antd 。
http://facebook.github.io/react/downloads.html#individual-downloads
from antd-init.
@afc163 谢谢!这样做貌似不是我想要的,怎么搭配webpack来使用呢?原有的webpack.config.js要怎么设置才能添加使用antd呢?(不想用你们提供的脚手架来开发的情况下需要怎么弄呢?)
from antd-init.
同样的问题,我已经折腾了好长时间,就是想把antd的一个组件移到已有的项目中
from antd-init.
https://ant.design/docs/react/getting-started-cn#%E8%87%AA%E8%A1%8C%E6%9E%84%E5%BB%BA
from antd-init.
我按照官网加载了 babel-plugin-import,但是没有样式,为了加上样式,又提示我不能解析less,加上less又提示我找不到模块css,我都要被搞疯了
from antd-init.
建议你先试试社区可用的脚手架,然后参考改造你自己的。ant-design/ant-design#129
from antd-init.
Related Issues (20)
- 静态数据不加载,不知道如何调试 HOT 1
- How to use webpack2 customized the antd theme and icon url. HOT 4
- antd主题切换 HOT 3
- antd主题切换后自定义的css被覆盖的问题 HOT 1
- 自定义主题后,pagination组件按钮样式异常
- theme:导入报错小细节
- theme:导入报错小细节 HOT 1
- build后报错,该如何解决
- 如果我用的脚手架不是antd-init 和 dva-cli呢?该怎么处理? HOT 1
- 如何针对不同的entry做不同的modifyVars HOT 2
- 自定义iconfont路径只能用绝对路径? HOT 2
- 如何获取Icon的style值以及动态的改变style?
- 使用 parceljs ,本地部署 Iconfont 失败
- 想问下,不想修改整个主题,只想要修改某个组件的样式应该怎么做? HOT 1
- 在antd-pro中使用图标本地化时,报错
- Invalid setting font-family HOT 1
- my theme does not change help
- Translate this example to english
- 请问如果使用package.theme来自定义iconfont的路径无效,可以参考这个解决方案。
- 提错地方了,请无视 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antd-init.