react-router-tutorial icon indicating copy to clipboard operation
react-router-tutorial copied to clipboard

Error: Location "lessons/11-productionish-server/index.html" did not match any routes

Open catliuqh opened this issue 9 years ago • 1 comments
trafficstars

I want people visit my project via "http://www.*****.com"

so i use the following to output: qq 20161118173951

then i import this bundle.js in the html, code as follow:

<!doctype html public="storage">
<html>
<meta charset=utf-8/>
<title>My First React Router App</title>
<link rel=stylesheet href=index.css>
<div id=app></div>
<script src="bundle.js"></script>

but when i open this html in the browser, it send this error.I want to know why and how to resolve this question

qq 20161118174344

catliuqh avatar Nov 18 '16 09:11 catliuqh

You probably want to use a starter kit or a boilerplate rather than this lesson to start your site. Try googling react router starter kit and pick one you think have the parts you need.

From your error it looks like your pathing is wrong.

Andersos avatar Nov 23 '16 10:11 Andersos