Add support for multiple apps
See original GitHub issueIt would be nice to unify brunch approach to building very complex apps, modularity etc.
app/
should no longer be created by default. Instead, there should be a directory, that has the same name as<app>
. E.g.forum
forbrunch new forum
.- Load paths for everything should start from
paths.root
instead ofpaths.app
. There should be no special case forapp/
. assets/
andvendor/
directories of every app should have special meaning, like they have today. Of course, their presence should be absolutely optional.- Changing of
paths.assets
/paths.vendor
should be prohibited. paths.app
should be deprecated, instead,apps
or perhapspaths.apps
should be added.- Because it will be probably backwards-breaking, it would require version bump to 2.0.
Still not sure:
- What if user has many (10+) apps? Root directory will be very dirty. Maybe there should be an
apps
directory for this and other use cases (and no config param at all). - Where should default skeletons contain app files?
<app name>/app
or<app name>
?
Example of new structure
apps/
forum/
assets/
controllers/
models/
views/
vendor/
admin/
assets/
controllers/
models/
views/
vendor/
chaplin/
controllers/
models/
views/
config.coffee
node_modules
package.json
public/
README.md
vendor/ (optional)
Issue Analytics
- State:
- Created 11 years ago
- Comments:17 (11 by maintainers)
Top Results From Across the Web
Multi-window support - Android Developers
Multi-window mode enables multiple apps to share the same screen simultaneously. Apps can be side by side or one above the other (split-screen...
Read more >Get more done with multitasking in Windows - Microsoft Support
To use two or more apps at a time, grab the top of an app window and drag it to the side. Then...
Read more >Ninite - Install or Update Multiple Apps at Once
The easiest, fastest way to update or install software. Ninite downloads and installs programs automatically in the background.
Read more >How to Install Multiple Copies and Run Multiple Instances of ...
Some Android devices offer native support for app cloning. It lets you run multiple copies of the same app without having to install...
Read more >Use multitasking on your iPad - Apple Support
Learn how to use the new Multitasking menu, the Dock, and Spotlight to work with multiple apps. iPad screen showing two apps in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Actually, just after posting my comment here, I’ve found a workaround.
What I’ve ended up doing is:
which achieves the “multiple app” effect I was looking for. Hope that helps others.
So I think brunch 1.4 apps fit greatly for multiple app env already, as per latest comments.