Hi Ranjeet,
*Re #1*
"ng build --prod -bh {base URL}", example if you wanted to host this
application in the "/app1/" folder would be: "ng build --prod -bh {base
URL}"
Please note: this is all documented in Angular CLI's documentation

*Re #2*
Refer to Electron's documentation

*Re #3*
If you mean to have multiple applications reference a single "global"
node_module folder, the only thing you can do is something like this folder
structure:
/rootfolder/
    /node_modules
    /app1/
    /app2/
    /app3/ <-- no node_modules in the app folders

However, you have now tied these applications together. You cannot update
one without worrying about version conflicts with the others. You would be
better served by having each application have it's own node_modules folder.

*Re #4*
I do not know what you mean, exactly. Do you mean an NPM package? If so,
you can't "break these down".


On Tue, Aug 29, 2017 at 5:47 AM Ranjeet Kuruvilla <[email protected]>
wrote:

> I currently know how to start the npm development server.
> 1. How do I build my angular 2 final build, so that I can use it with
> nginx?
> 2. How do I build my electron angular 2 final build, so that I have my
> final standalone app?
> 3. How do I define a global node_modules folder? The only working solution
> is to use links to that folder, but I rather like to define a global folder
> 4. How can i break down one big package into n smaller packages?
>
> Cheers
>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Lucas Lacroix
Computer Scientist
Advanced Technology Division, MEDITECH <http://ehr.meditech.com/>
781-774-2293

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to