Reputation: 601
I've just added a React.js page to my .Net MVC site.
I think I've got the path value in my component wrong but I can't figure out what it's supposed to be.
Upvotes: 0
Views: 112
Reputation: 112787
You are giving the component to the Route
prop Component
. It's called component
with a lower cased c
.
<Route exact path="/CuteGoatWebsite/Home/React" component={Home} />
Upvotes: 1
Reputation: 601
@Tholle answered my question. I had "Component" with a capital C instead of "component"
Upvotes: 0