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:
@@ -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,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user