UNPKG

html-webpack-template-react

Version:

A template with more features than the default html-webpack-plugin template and more specific to react

8 lines (6 loc) 253 B
const app = document.getElementById('app') app.innerHTML = 'This is an app in the template.<br /><br />' + 'Some variables from your webpack.config.js:<br/>' + 'title: ' + document.title + '<br />' + 'window.env.apiHost: ' + window.env.apiHost