Package Exports
- laravel-mix-html-pug
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (laravel-mix-html-pug) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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