search

Home  >  Q&A  >  body text

angular.js - Can oclazyload and requirejs appear in the same project?

Can oclazyload and requirejs appear in the same project

漂亮男人漂亮男人2743 days ago578

reply all(1)I'll reply

  • 阿神

    阿神2017-05-16 13:20:07

    Requirejs可以让你通过AMD方式去组织代码和加载代码,它是一个遵循AMD模块Loader.

    oclazyload仅仅就是一个angular module loader.

    The two can be used together, through requirejs去全局组织你的模块化的代码,然后通过oclazyloadmatching routing to do lazy loading of modules.

    reply
    0
  • Cancelreply