https://github.com/smilefish2/laravel-mix-html-pug
Make html page use laravel-mix and pugjs
https://github.com/smilefish2/laravel-mix-html-pug
Last synced: 4 months ago
JSON representation
Make html page use laravel-mix and pugjs
- Host: GitHub
- URL: https://github.com/smilefish2/laravel-mix-html-pug
- Owner: Smilefish2
- License: mit
- Created: 2017-09-29T08:02:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-29T10:44:04.000Z (about 8 years ago)
- Last Synced: 2024-04-24T13:17:47.648Z (over 1 year ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# laravel-mix-html-pug
Make html page use laravel-mix and pugjs
## Install
``` bash
$ npm install --save-dev laravel-mix-html-pug
```
``` js
// 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](http://pugjs.org).
- Documentation for Mix repositories can be found on the [Github](https://github.com/JeffreyWay/laravel-mix)
## Thanks
- [laravel-mix-pug](https://github.com/matejsvajger/laravel-mix-pug) - API for this src/tasks module
- [laravel-blade-jade](https://github.com/iguntur/laravel-blade-jade) - API for this README.md
## License
MIT @ [JMJ](https://escapeplan.me)