Wednesday, 24 May 2017

Extra set of partials when inspecting with chrome dev tools using nodeJS(express,ejs)?

I'm currently learning nodeJS and trying to create a landing page with express and ejs, when adding partials with ejs i noticed something strange. Theres a second set of partials when inspecting with chrome dev tools. Is this something that dev tools impliments or some kind of feature of express? Im kinda new to this so any help would be appriciated.

<% include partials/header %>

<h1>
  Landing Page!
</h1>
<p>
  Welcome to YelpCamp!
</p>

<a href="/campgrounds">View all campgrounds</a>

<% include partials/footer %>

Heres the img of the issue



via Alexander Leismann

No comments:

Post a Comment