Application Structure: Folder for git submodules?
Closed this issue · 7 comments
imports/submodules?
Is this for sharing code between multiple apps internally, or what?
yes. e.g. sharing the collections between admin and website project.
On Wed, Mar 30, 2016 at 6:23 PM, Sashko Stubailo notifications@github.com
wrote:
Is this for sharing code between multiple apps internally, or what?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#311 (comment)
If you're interested in contributing more detail, the right place to submit a PR would be to this section: http://guide.meteor.com/structure.html#sharing-code
So you could add some directions about how to include a submodule in the imports/
folder and suggest that one place to put it would be a directory called submodules/
.
I switched to a multi-root repo project since Webstorm's submodule support is crap.
Tell me more? What do you mean by multiple root repos?
I want to introduce ES6 modules in my system. Right now I try to share my "collections & schemas" folder between three projects (admin, website, mobile app).
And I have no clue how to do this the best way :-)
Git submodules in Webstorm are more treated like libraries. So it is rather hard to change something inside the submodule.
So now I test to have two separate git repos in every Webstorm project (e.g. collections repo & admin repo). So a better name would be multi-repo project?
OK for Webstorm you seem to have to go with symlink.