#salesforce
#trailhead
#salestraining
Set Up Your Lightning Web Components Developer Tools
Create a Salesforce DX Project
The basic foundation for interacting with an org using Salesforce CLI is a Salesforce DX project. A project consists of several local configuration files, as well as the code you want to deploy. In Salesforce terms we call this code metadata, which is the foundation of the Salesforce Platform. If you’re new to Salesforce, check out Platform Development Basics to learn more about our metadata-driven approach.
We’ll use Visual Studio Code to create a project.
Open Visual Studio Code.
Press Command + Shift + P on macOS or Ctrl + Shift + P on Windows or Linux, then type create project. Select SFDX: Create Project, and press Enter.
Leave the default project type selection Standard as is, and press Enter.
Enter trailhead as project name, and press Enter.
Choose a directory on your local machine where the project will be stored. Click Create Project.
Great! You’ve created your first Salesforce DX project for working with Lightning Web Components. Visual Studio Code will automatically open the new project for you.
Authorize Your Dev Hub
The next step is to authenticate Dev Hub. If you're using a Trailhead Playground you can learn in Get Your Trailhead Playground Username and Password how to get the credentials for the next step.
In Visual Studio Code, press Command + Shift + P on macOS or Ctrl + Shift + P on Windows or Linux.
Type sfdx.
Select SFDX: Authorize a Dev Hub.
Log in using your Dev Hub org credentials.
Click Allow.
00:00 Introduction
00:52 VS Code
08:16 Coadding
Смотрите видео Create a Lightning Web Component | Set Up Your Lightning Web Components Developer Tools онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Saurabh Infotech Solutions 06 Ноябрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,632 раз и оно понравилось 1 людям.