Newer Version Available
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.
- In <app dir>/main/default, create the aura directory .
- Change to the aura directory.
-
In the aura directory, create a Lightning app or a Lightning
component.