pug-plugin
Advanced tools
Changelog
2.4.0 (2022-05-17)
:code
and :highlight
Changelog
2.3.0 (2022-05-09)
asset/inline
the inline SVG in HTML and data-URL for binary imagesasset/inline
the utf8 encoding for SVG data-URL in CSSasset
to automatically choose between resource
and inline
hello world
web app exampleasset/inline
and asset
Changelog
2.1.1 (2022-04-20)
responsive-loader
Changelog
2.1.0 (2022-04-18)
responsive-loader
compile
methodChangelog
2.0.1 (2022-04-03)
outputPath
was relativeChangelog
2.0.0 (2022-04-01)
require()
of the javascript source files directly in pug.pug-plugin
now is possible usage of source js files in pug:
script(src=require('./main.js'))
Generated HTML:
<script src='/assets/js/main.1234abcd.js'></script>
data
for compile
method