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

Lesson 11 typo

Open lainglo opened this issue 8 years ago • 1 comments
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.

lainglo avatar Jan 18 '17 14:01 lainglo

Also duplicate of as bug #218.

merriam avatar Mar 21 '17 11:03 merriam