JSPM

laravel-mix-html-pug

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q29399F
  • License MIT

Make html page use laravel-mix and pugjs

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

License

MIT @ JMJ