首页 > 前端资源模块化管理的问题

前端资源模块化管理的问题

最近看了小胡子哥的一篇文章《京东首页前端技术剖析与对比》

其中提到一个工程结构是这样子的:

.
├── build/
└── src/
    ├── widgets/
    ├── mods/
    |   ├── moduleA/        
    |   |   ├── index.js  
    |   |   ├── index.tpl
    |   |   └── index.less
    |   ├── moduleB/ 
    |   └── moduleC/  
    ├── index.js  
    ├── index.tpl
    └── index.less

想了一下,好像没什么实现的头绪。不知道有什么比较好的实现方法?或者各位有没有写过demo可以让小弟参考一下呢?


和我的generator-es6-angular好像,可以用用看,我写es6 module,配合angular做的基础骨架

【热门文章】
【热门文章】