1.0.0 • Published 7 years ago

alfredjs v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

Alfred Template Renderer

Alfred renders your template and creates a new file with given parameters to speed up your frontend development

Help

alfred new <template> <dest> [conf] [rename]

Create a component from template. Takes the template from config.templates,
renders with the rest of the parameters and writes to the --dest

Options:
  --version   Show version number                                      [boolean]
  --help      Show help                                                [boolean]
  --dest, -d                                                      [default: "."]
  --conf, -c                                                     [default: "./"]

Example Usage

First create a config file with alfred init in project root

Create a new file from a template alfred new component.jsx components/ --rename NavBar.jsx --componentName NavBar

Will create a file under ./components/ with the file name NavBar.jsx and render with componentName variable NavBar

1.0.0

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago