Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fngr2911/laravel-mix-pug-to-html
Laravel mix extension to build html pages from pug files and partials
https://github.com/fngr2911/laravel-mix-pug-to-html
html laravel-mix pug webpack
Last synced: 12 days ago
JSON representation
Laravel mix extension to build html pages from pug files and partials
- Host: GitHub
- URL: https://github.com/fngr2911/laravel-mix-pug-to-html
- Owner: FNGR2911
- Created: 2019-11-21T15:32:15.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T00:35:36.000Z (almost 2 years ago)
- Last Synced: 2024-10-30T09:38:17.013Z (16 days ago)
- Topics: html, laravel-mix, pug, webpack
- Language: JavaScript
- Size: 1.52 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# laravel-mix-pug-to-html
Laravel mix extension to build html pages from pug files and partials
## Installation
```
npm i -D @fngr/mix-pug-to-html
```## Usage
Require mix as asual and also this package. Now you can use it via `mix.pug('srcdir', 'distdir', {options...})`. Options are not working yet, but will be added soon!
```javascript
const mix = require("laravel-mix");
require("@fngr/mix-pug-to-html");mix.pug("src/views", "dist", { minify: true });
```