Newer Version Available
Sample Repository on GitHub
To get started quickly, see the dreamhouse-lwc
GitHub repo. This standalone application contains an example DX project with multiple Apex
classes, Aura components, custom objects, sample data, and Apex tests.
Cloning this repo creates the directory dreamhouse-lwc. See the repo’s Readme for more information.
Assuming that you’ve already set up Git, use the git clone command to clone the main branch of the repo from the command line.
To use HTTPS:
1git clone https://github.com/trailheadapps/dreamhouse-lwcTo use SSH:
1git clone git@github.com:trailheadapps/dreamhouse-lwc.gitIf you don’t want to use Git, download a .zip file of the repository’s source using Clone, or download on the GitHub website. Unpack the source anywhere on your local file system.
See Use a Sample Repo to Get Started with Salesforce DX for the next steps.