Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.05 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.05 KB

pug-to-html

CLI tool to convert your pug code to html code. Supports Vue Single File Components!

oclif Version Downloads/week License

Usage

yarn global add pug-to-html
pug-to-html [PATH]

Arguments

  • PATH Path to the directory where with vue files. Defaults to current working directory

Options

  • -h, --help show CLI help
  • -v, --version show CLI version

Description

This tool will recursively scan provided path, and replace pug code with html code.

  • For *.pug files, it will replace entire file contents and rename it to *.html
  • For *.vue files, it will find sections and replace their contents with HTML