1.0.1 • Published 7 years ago

aminkt-laravel-mix-html-pug v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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

License

MIT @ JMJ