generator-sflightning
v0.1.6
Published
Generator for Salesforce Lightning
Downloads
3
Maintainers
Readme
generator-sflightning
About
Generator for Salesforce Lightning Components
Installation
# Make sure both are installed globally
npm install -g yo
npm install -g generator-sflightning
Setting up projects
# Create a new directory, and `cd` into it:
mkdir my-new-project && cd my-new-project
Generating new apps
# Run the app generator
yo sflightning Car 'Drives you from A to B'
# ...or you can call it without params, to get prompted for the name and description...
# yo sflightning
Generating new components
# After setup of course :)
# cd my-new-project
# Run the component generator
yo sflightning:component Engine 'Powers the car'
# ...or you can call it without params, to get prompted for the name and description...
# yo sflightning:component