Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 28 days 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 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-29T10:44:04.000Z (about 7 years ago)
- Last Synced: 2024-04-24T13:17:47.648Z (8 months 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.jslet 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)