Yeoman generator for Fayde Applications.
Install generator-fayde
globally.
npm install -g generator-fayde
# Create a directory and scaffold
$ mkdir <new directory>
$ cd <new directory>
$ yo fayde
# Launch
$ gulp serve
# Create a view model named TestViewModel in ViewModels directory.
$ yo fayde:vm Test
Issue the following command to create a page called "Home" with a Title of "Page Title". Generator will place page in the Views directory.
# Create a page with title "Page Title" in Views directory.
$ yo fayde:page Home "Page Title"
Issue the following command to create a XAML view called "Testing". Generator will prompt for root UIElement to use and place in the Views directory.
# Create a xaml view named Testing in Views directory.
# You will be prompted for root UIElement type.
$ yo fayde:view Testing