0.0.3 • Published 10 months ago

@animalus/ng-pug v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

ng-pug

Gulp utils for using pug with angular.

Usage

Create a gulpfile.mjs file and add the following.

Assuming a standard project in which your source code is under a "src" directory.

import { addPugTasks } from "@animalus/ng-pug";
import gulp from "gulp";

addPugTasks(gulp);

This will add 2 tasks. pug which simply compiles all of your pug templates. And pugwatch which you can use to set up a watch to recompile on changes. I use the latter in conjunction withng serve(I useconcurrent to run them in parallel) so that a change in the template or code results in an update of the app.

License

Copyright © 2023 Animal.usken@happywhale.com

This work is free. You can redistribute it and/or modify it under the terms of the MIT License. See LICENSE for full details.

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago