pw-tpl
A set of utilities for the static pug template.
Installation
$ npm i pw-tpl -g
$ yarn global add pw-tpl
Features
Quick template setup
Loads the newest template image into the current working directory.
First of all you need to set global variable GITLAB_API_TOKEN with your GitLab private token.
How to set global variable
MacOs
Windows
Then run:
$ pw-tpl init
And enter the name of new project.
Module template
Adding new module template into src/modules directory.
$ pw-tpl add:module [options] <name>
Options
-js Includes js module file.
-vue Includes Vue file instead of pug template.
-tests Includes js test file.