Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我已经使用 sencha cmd 设置了我的项目。我有以下目录
app -model -view -store -controller
如果我创建自定义插件或功能,我应该将它们放在视图下还是其他位置?
我有以下目录结构:
app controller model plugins store view
然后在标题中包含每个插件:
<script type="text/javascript" src="app/plugins/SomePlugin.js"></script>
尽管具有以下文件夹结构是有一定意义的,因为插件是组件插件,因此是视图层的一部分:
app view plugins