laravel-mix-html-pug
v1.0.0
Published
Make html page use laravel-mix and pugjs
Downloads
2
Readme
laravel-mix-html-pug
Make html page use laravel-mix and pugjs
Install
$ npm install --save-dev laravel-mix-html-pug
// webpack.mix.js
let mix = require('laravel-mix');
mix.setPublicPath('dist');
mix.pug = require('laravel-mix-html-pug');
/**
* HTML Views
*/
mix.html('src/views', 'public/views');
// ...
Official Documentations
- Documentation for Pug can be found on the Pug website.
- Documentation for Mix repositories can be found on the Github
Thanks
- laravel-mix-pug - API for this src/tasks module
- laravel-blade-jade - API for this README.md
License
MIT @ JMJ