6 ms·
I've used a structure similar to the one suggested by Ryan Florence in this Gist [1] with some success. The gist of it is: > The file structure maps directly
by insin 11y ago
I've used a structure similar to the one suggested by Ryan Florence in this Gist [1] with some success.
The gist of it is:
> The file structure maps directly to the route hierarchy, which maps directly to the UI hierarchy.
> It's inverted from the model that we've used in other systems. If we consider all folders being either a "generic" or a "feature" folder, we only have one "feature" folder but many "generic" folders.
[1] https://gist.github.com/ryanflorence/daafb1e3cb8ad740b346 https://gist.github.com/ryanflorence/daafb1e3cb8ad740b346
- tragic 11y agoSo basically, the default behaviour of ember.