Hot towel: why are Durandal and Require in the App folder and not in the Script folder?

This comes from the idea that third-party libraries are in Script to refuse developers to configure them. This would encourage them to write extensions to simplify the use of the new version of any library.

+5
source share
2 answers

You well understand that other developers mistakenly accept durandal libraries for custom files.

But you don’t need to keep a fool anywhere. The folder structure may be what your heart desires. Since durandal does not impose any folder structure, it has only the default recommended setting. There are favorable conditions for observing its structure.

durandal . jadcript . , durandal optimizer, , // html/css/js 1 . , 1 .

, , JavaScript , bundler, . . , , , .

, durandal , .

+5

, Durandal , , App, , . require.js - , require.js AMD. require.js , ( ).

- , , ?

0

All Articles