Hi David, I am going to try what Joao suggested with ng maven plugin. I think that direction should work.
From: David Leangen [mailto:[email protected]] Sent: Friday, August 03, 2018 7:42 PM To: Matthews, Kevin; OSGi Developer Mail List Subject: Re: [osgi-dev] Angular New Enroute Hi, Angular 2+ works very differently from AngularJS. In enRoute (or at least in v2, I am not yet familiar with the current enRoute), it used AngularJS. You used to be able to just include the JS file, and that was it. Angular 2+ requires you to build/compile your application first, so you cannot just ship the source code (unless you include some kind of interpreter, but I’ve never attempted that). What we do is build the files at some point during the build process, and ship the entire dist directory. It works for us as a deployment mechanism. Never tried it as a DS component, though. Because of the way an Angular 2+ app works, I don’t immediately see how you could do that. If you figure it out, I’d be interested in hearing your solution. Cheers, =David On Aug 4, 2018, at 4:55, Matthews, Kevin via osgi-dev <[email protected]<mailto:[email protected]>> wrote: Hello, Has anyone integrated the new angular 2+/6 into the enroute project as a separate UI module/DS component? I have added the contents of my angular src folder into the static folder of the enroute sample but doesn’t seem to render the static pages. Should I add the entire angular folder to static folder or just the src folder of my angular generate project? Kevin Matthews Senior Application Analyst First Data, 3975 NW 120 Ave, Coral Springs, FL 33065 Office: 954-845-4222 | Mobile: 561-465-6694 [email protected]<mailto:[email protected]> | firstdata.com<http://firstdata.com/> The information in this message may be proprietary and/or confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify First Data immediately by replying to this message and deleting it from your computer. _______________________________________________ OSGi Developer Mail List [email protected]<mailto:[email protected]> https://mail.osgi.org/mailman/listinfo/osgi-dev<https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.osgi.org_mailman_listinfo_osgi-2Ddev&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=KVVZRzTqH1sTQppccxSw4v32MPJcykMMpxujDPlyMIY&s=SnXgzLLYzN4lk-wcF8A6vrfTazk55p6675Lkzdvic1I&e=>
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
