react-router-tutorial
react-router-tutorial copied to clipboard
Lesson 11 typo
trafficstars
Right at the start of the lesson it says:
In the root directly, go open up webpack.config.js and add the publicPath '/' as per below:
// webpack.config.js output: { path: 'public', filename: 'bundle.js', publicPath: '/' },
However, the path "public" has not been defined yet at this stage of the lesson (only gets defined later). The result of this is that my server runs but the pages are not loaded. If I remove "path: 'public' " from the file, it works fine.
Also duplicate of as bug #218.