Swiip / generator-gulp-angular

Yeoman generator for AngularJS with GulpJS [UNMAINTAINED next iteration is FountainJS]

Home Page:http://fountainjs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple apps

nitzanav opened this issue · comments

Hi,

I want to have two separate apps served from the same server.

I want to separate the app of the LP or home page from the application for logged in users.

I want them to be separated, because we receive a different version of LP each week, and I don't want to merge it in and out the code and manage conflicts with existing library versions every week.

A possible solution would be to have an app2 folder that will inject and build everything inside expect of bower components and be added to the dist folder as app2/index.html

Thank in advanced to whoever take the time to read this!

Nitzan

The simpler way would be to generate two apps and merge the 2 dist folders at the end. 2 app folder should be possible too. For Bower, it shouldn't be a problem while bower_components is already an alias outside the sources in the server and libs are packaged in the dist version.