base icon indicating copy to clipboard operation
base copied to clipboard

Subdirectory for components, containers & pages

Open rgstephens opened this issue 9 years ago • 4 comments

I'd like to see a documents subdirectory for ui/components, containers & pages in the same way the api has a documents subdirectory. When I create a new project with Base and starting making new collections and related UI components, I create a subdirectory for each new collection under both api and the ui directories.

rgstephens avatar Dec 25 '16 16:12 rgstephens

Make sense to me. When the app grows, I always struggle organising with Base

arthurkirsz avatar Dec 26 '16 10:12 arthurkirsz

I submitted pull request #216 with the changes along with a related request, pull #217, to change the filenames for easier extension of Base.

rgstephens avatar Dec 26 '16 17:12 rgstephens

Had a quick look. I like it but Ryan might not merge the PRs. The current structure is very clear for beginners whereas the new one could make less sense.what do you think Ryan ?

arthurkirsz avatar Dec 26 '16 18:12 arthurkirsz

Hi @rgstephens @arthurkirsz. Agree with Arthur here. I do prefer this more personally, but I want to keep things as close to the Meteor Guide/simple as possible. Something like an extra directory may seem like a silly thing to split hairs over, but—especially for beginners—it introduces the added question of "do I have to do it this way?"

Going to think about this and flag it as a consideration for Base 5.0. Thanks for submitting this, Greg :)

themeteorchef avatar Dec 26 '16 22:12 themeteorchef