Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jonathanconway/generator-sflightning

Generator for Salesforce Lightning Components
https://github.com/jonathanconway/generator-sflightning

Last synced: 15 days ago
JSON representation

Generator for Salesforce Lightning Components

Awesome Lists containing this project

README

        

# generator-sflightning

![Lil Jon](https://i.ytimg.com/vi/Wx3-cfE-6is/maxresdefault.jpg)

# About

Generator for Salesforce Lightning Components

## Installation
```bash
# Make sure both are installed globally
npm install -g yo
npm install -g generator-sflightning
```

## Setting up projects
```bash
# Create a new directory, and `cd` into it:
mkdir my-new-project && cd my-new-project
```

## Generating new apps
```bash
# 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
```bash
# 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
```