vue-html-webpack-plugin
3.2.2 • Public • Published This is a webpack plugin powered by HTML Webpack Plugin, and add just one boolean param to the options.
install
npm i --save-dev vue-html-webpack-plugin
webpack.config.js
const HtmlWebpackPlugin = require('vue-html-webpack-plugin')
module.exports = {
plugins: [
new HtmlWebpackPlugin({
vue: true
})
]
}
This will generate a file dist/index.html
containing the following
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Webpack App</title>
</head>
<body>
<div id="app"></div>
<script src="index_bundle.js"></script>
</body>
</html>
This param add entry point for Vue.js app.
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
3.2.2 | 110 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
3.2.2 | 110 | |
3.2.1 | 3 | |
3.2.0 | 1 | |
Package Sidebar
Install
npm i vue-html-webpack-plugin
Weekly Downloads