generator-sflightning

Generator for Salesforce Lightning

Usage no npm install needed!

<script type="module">
  import generatorSflightning from 'https://cdn.skypack.dev/generator-sflightning';
</script>

README

generator-sflightning

Lil Jon

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