Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jonathanconway/generator-sflightning
- Owner: jonathanconway
- Created: 2016-06-17T06:25:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-06-20T03:34:52.000Z (over 8 years ago)
- Last Synced: 2024-12-20T02:34:21.467Z (about 1 month ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```