Skip to content

redux+react+webpack+gulp的demo 用来学习react 的

License

Notifications You must be signed in to change notification settings

testxin/BaseFramework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

基础框架

git clone https://github.com/testxin/BaseFramework.git BaseFramework
cd BaseFramework
npm install
npm run gulp 

特性

  • CSS: Sass

  • JS: Modular ES6 with Babel and Webpack

    • 异步 requires
    • 多包
    • 分享模块
    • Source Maps
  • React:

  • Images:

    • SVG Sprites: Compiles a spritesheet from a folder of SVGs
    • Compression with image-min
  • Fonts:

    • Icon Fonts: Generate from a folder of SVGs
    • Folder and .sass mixin for including WebFonts
  • Development Mode:

    • File Watching and Live Reloading with BrowserSync
    • Source Maps
  • Production Builds:

    • JS and CSS are uglified and minified
    • All filneames are revisioned with an md5 hash, a rev-manifest.json file is genrearted and all asset references are updated in html, css, and js
    • File size reporting
    • Local production sever for testing
  • 测试:

    • JS test examples with Karma, Mocha, Chai, Sinon
    • Travis CI integration

About

redux+react+webpack+gulp的demo 用来学习react 的

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published