Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Angular 2 With Composite C1?

$
0
0
Hello. I have an Angular 2 project running in a separate folder. Angular 2 runs on Node js.

Does anyone have ideas on how to run Angular 2 within Composite files? The goal is to get something like the following to display:

-TOP: USER EDITABLE CONTENT (menu, header, etc)
-MIDDLE/BODY: ANGULAR2 APPLICATION
-FOOTER: MORE USER EDITABLE STUFF.

When I say "user editable", I mean that it should have the ability to be changed from the Composite UI/backend.

So far I've tried using a function but can't seem to get that working. Right now, composite is under a MAIN directory, while Angular2 is under a MAIN/angular-app directory. When I run Composite it seems to run on localhost:49857, when I run angular app it seems to run on localhost:3000. Each are running fine on their own, but I'm not sure how to combine them.

Thanks in advance for any help or input.

Issues I'm having:

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>