Skip to content

qilovehua/react-ant-design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image image

要点

  1. 仿今日头条的新闻网站,支持响应式布局
  2. 查看详情,评论

安装

  1. git clone
  2. npm install
  3. npm start

主要知识点:

  1. React
  2. React-Router
  3. ant-design
  4. Jquery
  5. Less/SCSS/PostCSS
  6. CSS(3)
  7. HTML(5)
  8. Fetch, JSONP 跨域访问API获取数据
  9. Lodash

其他

  1. 项目初始化参照 https://ant.design/docs/react/use-with-create-react-app-cn
  2. create-react-app会自动补全css,因此无需添加前缀(如-webkit),但默认不支持less/scss/sass 文档中只给出了scss/sass的方案,less却没有。。。(lessc无法批量处理,webstorm可以)
  3. SCSS,自动生成对应CSS
  4. 用webstorm自动编译less产出css

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published