Coder Social home page Coder Social logo

aura2lwc's Introduction

CodeLive with Salesforce: Converting Aura to LWC

As a part of the #CodeLive webinar, a sample app called Product Catalog was converted from Aura to LWC. Find the recording and presentation here: https://developer.salesforce.com/event/convert-aura-to-lwc

About the App

Product Catalog is used by users to place orders. A screen will allow them to find products, add/remove them from cart. Once the cart is finalized, a user can select the Account, Order Date and Status, and click "Checkout" to create an order.

Deployment Instructions

  • Run git clone https://github.com/adityanaag3/aura2lwc.git in the Terminal or Command Prompt
  • Open the folder aura2lwc in VS Code.
  • To deploy to a Scratch org, choose Create Default Scratch Org from the Command Palette, follow the prompts, and once the scratch org is created, run the command sfdx force:source:push, and once the code is pushed, run sfdx force:org:open to open the org.
  • To deploy to a Dev Org, choose Authorize an org from the command palette, follow the prompts to finish authorizing. Then, choose Set a default org from the command palatte, and choose the org you just authorized. Deploy the code by right-clicking on the force-app folder, and selecting SFDX: Deploy Source to Org. Then, run sfdx force:org:open to open the org.

Using the App

  • Navigate to the Product Catalog App.
  • The Product Catalog Aura tab has the Aura Components.
  • The Product Catalog tab has Lightning Web Components.

Questions?

Reach out to me on my twitter handle @adityanaag

aura2lwc's People

Contributors

adityanaag3 avatar

Watchers

James Cloos 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.