Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialIla Gupta
5,147 PointsCould not resolve 'home.featured' from state 'home'??
How should I resolve this error? My page does not load featured.html and shows the above error in console. Here is my code:
---
name: home
url: /
---
<div class="grid-container">
<h1>Welcome to Foundation for Apps!</h1>
<p class="lead">This is version <strong>1.2 Eiger</strong>.</p>
<a ui-sref="home.featured">View the latest featured trails</a>
<!--featured trails view-->
<div ui-view></div>
</div>
---
name: home.featured
url: /featured
---
<h3>These are the featured trails</h3>
3 Answers
Iain Simmons
Treehouse Moderator 32,305 PointsJust to be sure, you're not editing the HTML files in the build/templates
folder are you?
Iain Simmons
Treehouse Moderator 32,305 PointsSo both files are in the client/templates
folder?
Ila Gupta
5,147 PointsHi Iain!! Yes both are in templates folder, it matches exactly with the video still getting the error.
Iain Simmons
Treehouse Moderator 32,305 PointsIf you're using Workspaces, can you please share a Snapshot of your workspace?
Ila Gupta
5,147 PointsIla Gupta
5,147 PointsNot made any changes in templates.