1.0.0 • Published 5 years ago

alfredjs v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 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

5 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago