Newer Version Available

This content describes an older version of this product. View Latest

Create a Lightning App and Components

To create Lightning apps and components from the CLI, you must have an aura directory in your Salesforce DX project.
  1. In <app dir>/main/default, create the aura directory .
  2. Change to the aura directory.
  3. In the aura directory, create a Lightning app or a Lightning component.