Site icon Salesforce Diaries

Salesforce CLI and Visual Studio Code Command Palette

Create a Salesforce DX Project via Command Palette

Create a Salesforce DX Project via Salesforce CLI

Authorize Your Non – DevHub Org Via Command Palette

Authorize Your Non – DevHub Org Via Salesforce CLI

Check Your Authorized Org Info Via Salesforce CLI

Note:- You can not enable DevHub in an org having namespace enabled.

Create a Lightning Web Component via Command Palette

Create a Lightning Web Component via Salesforce CLI

To create a Lightning web component from the CLI, you must have an lwc directory in your Salesforce DX project.

If you don’t follow the above steps, You will get below error:

If you have completed the above steps to change the directory, You will see as below

Exit mobile version