Skip to content Skip to sidebar Skip to footer

Angular 4.1.0 In Plunker: Adding Component Returns 404 Xhr Error

I'm trying to use Angular 4 with Plunker and I can't manage to add a new component. The URL is: https://plnkr.co/edit/1umcXTeug2o6eiZ89rLl?p=preview I've just created a new compone

Solution 1:

Change the name of mycomponent.ts to src/mycomponent.ts and it will work.

The error is because it can't include the component (bad pathing).

Don't forget to add <combo-compo></combo-compo> to your app.ts template.

Check it out:

enter image description here

Post a Comment for "Angular 4.1.0 In Plunker: Adding Component Returns 404 Xhr Error"