react-ratchet-gulpAn app demo build with Gulp, React, Ratchet.

联合创作 · 2023-09-23 20:32

An app demo build with Gulp, React, Ratchet.



  • Build



    • Execute init.sh to install core gulp plugins。

    • Execute gulp command to build all source。

    • Open public/views/login.html or register.html in Chrome's device mode:



    • NOTE: If you add Ratchet.js into vendor.js,the UI can't respond any event.


    • Push: If you want Ratchet's push feature, need to add push event:



       window.addEventListener('push', function (e) {
      // render React component
      doRender();
      });



浏览 14
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报