Skip to content

mak-42/thymeleaf-inject-webpack-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thymeleaf Inject Webpack Plugin

This is an extension plugin for the webpack plugin html-webpack-plugin.

It adds automatically thymeleaf to all of your injected resources before generate output html

Installation

You must be running webpack on node 0.12.x or higher

Install the plugin with npm:

$ npm install --save-dev nkb84/thymeleaf-inject-webpack-plugin

Install the plugin with yarn:

$ yarn add --dev nkb84/thymeleaf-inject-webpack-plugin

Basic Usage

Load the plugin

  const ThymeleafInjectWebpackPlugin = require('thymeleaf-inject-webpack-plugin');

and add it to your webpack config as follows:

plugins: [
  new HtmlWebpackPlugin(),
  new ThymeleafInjectWebpackPlugin()
]  

About

A Thymeleaf tags injection plugins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%