I built a blog in Laravel to post some programming tutorials, but I faced a problem; when I have some expression (sample code) like below
@foreach($items as $item)
<div></div>
@endforeachor if I have Angular sample code
<div *ngFor="let item of items"></div>the above sample codes cause a blank page, in the console, there is no error, but in the development tool element tab body tag is empty. look at this link https://coffeequery.com/posts/loop-in-angular I looked everywhere to find a solution but couldn't. I think the browser trying to evaluate this expression, what should I do to tell the browser to ignore it? thanks.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire