Commit 813d5d22 by hfpp2012 yinsigan

fix index.html

1 parent 800be6cd
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>React App Setup</title>
</head>
<body>
<div id="root">
</div>
</body>
</html>
...@@ -5,7 +5,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin'); ...@@ -5,7 +5,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
const ExtractTextPlugin = require("extract-text-webpack-plugin"); const ExtractTextPlugin = require("extract-text-webpack-plugin");
const HtmlWebpackPluginConfig = new HtmlWebpackPlugin({ const HtmlWebpackPluginConfig = new HtmlWebpackPlugin({
template: './client/index.html', template: './src/index.html',
filename: 'index.html', filename: 'index.html',
inject: 'body' inject: 'body'
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!