Git Product home page Git Product logo

troubleshoot-lwc's Introduction

troubleshoot-lwc

Download Components for the Troubleshooting Lightning Web Components Trailhead Badge

Open Visual Studio Code and clone this GitHub repo.

  1. In Visual Studio Code, open the Command Palette by pressing Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS).
  2. Enter git.
  3. Select Git: Clone.
  4. Enter https://github.com/developerforce/troubleshoot-lwc.git and press Enter.
  5. Select Desktop and then click Select Repository Location.

Update Salesforce CLI

It's always a good idea to update to the latest CLI

  1. Click View, and then select Terminal to open a terminal in Visual Studio Code.
  2. Update the CLI by running this command in the terminal:
sfdx update

Create DX Project

  1. Open the Command Palette.
  2. Enter sfdx.
  3. Select SFDX: Create Project.
  4. Select Standard.
  5. Enter troubleshoot-lwc as the project name and press Enter.
  6. Select Desktop for folder to store the project.
  7. Click Create Project.
  8. Click Overwrite.

Authorize Your Trailhead Playground

  1. Open the Command Palette.
  2. Enter sfdx.
  3. Select SFDX: Authorize an Org.
  4. Press Enter to accept the Project Default login URL option.
  5. Press Enter to accept the default alias. Salesforce login opens in a separate browser window.
  6. Log in using your Trailhead Playground credentials.
  7. If you're prompted to allow access, click Allow.

Deploy to Playground

  1. Right-click the default folder under force-app/main.
  2. Click SFDX: Deploy Source to Org.

Assign Permission Set

  1. Click View, and then select Terminal. A terminal window opens in Visual Studio Code. The terminal defaults to the top-level directory of the project.
  2. Assign the Solutions Full Access permission set to the default user by running this command in the terminal:
sfdx force:user:permset:assign -n Solutions_Full_Access

View the Solutions App

  1. In your Trailhead Playground, in App Launcher, search for sol.
  2. Select Solutions.

troubleshoot-lwc's People

Contributors

markhmorrison avatar lcaten avatar kalpana-waghmare avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.