1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-29 04:16:23 +01:00

Support react router when running web dev server

This commit is contained in:
Phuoc Nguyen
2019-11-23 14:38:44 +07:00
parent 39739a7ab9
commit 0c73e56a1a
2 changed files with 3 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ module.exports = {
},
devtool: 'cheap-module-eavl-source-map',
devServer: {
contentBase: path.join(__dirname, 'dist')
contentBase: path.join(__dirname, 'dist'),
historyApiFallback: true,
},
};