pw-tpl

1.2.0 • Public • Published

pw-tpl

A set of utilities for the static pug template.

Installation

# npm
$ npm i pw-tpl -g

#yarn
$ 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.

Readme

Keywords

none

Package Sidebar

Install

npm i pw-tpl

Weekly Downloads

15

Version

1.2.0

License

MIT

Unpacked Size

9.53 kB

Total Files

13

Last publish

Collaborators

  • vladislavbelozerov