# html-webpack-template **Repository Path**: steve_mao/html-webpack-template ## Basic Information - **Project Name**: html-webpack-template - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-11-16 - **Last Updated**: 2023-11-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # HTML Webpack Template **Note** - Support for this template is lagging Webpack. This currently only supports (old!) webpack v3. I'm [looking for contributors](https://github.com/jaketrent/html-webpack-template/issues/84) who would like to give it some loving upgrades. This is a template for the [webpack](http://webpack.github.io/) plugin [html-webpack-plugin](https://www.npmjs.com/package/html-webpack-plugin). It has a few extra features more than the [default template](https://github.com/jantimon/html-webpack-plugin/blob/master/default_index.ejs) which will hopefully make it less likely that you'll have to create your own `index.html` file in your webpack project. Templates for the html-webpack-plugin are implemented using [underscore templates](http://underscorejs.org/#template) (previously, in 2.x, [blueimp templates](https://github.com/blueimp/JavaScript-Templates)). You can write your own as well. #### Legacy version For the legacy version that works with `html-webpack-plugin@1.x`, `npm install html-webpack-plugin@2`. ## Installation Install the template in your project with npm: ```shell $ npm install html-webpack-template --save-dev ``` ## Basic Usage To make it work, you need to provide these **required parameters**: - `inject: false` - `template: require('html-webpack-template')` And you can provide some other *optional parameters*: - `appMountId`: The `