0

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.

enter image description here

0

2 Answers 2

1

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} />
Sign up to request clarification or add additional context in comments.

Comments

0

@Tholle answered my question. I had "Component" with a capital C instead of "component"

1 Comment

Consider upvoting and accepting my answer instead of answering with my answer yourself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.