rogeramitchell / lwc-svelte

Playing around with mounting a Svelte app inside LWC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Svelte in LWC!

Hotness of JS + Hotness of Salesforce = Svelte in LWC!

Getting Started

  1. Clone the repository to your local machine
  2. Deploy the source to your org

Making Changes to Svelte App

  1. From within the project directory, cd svelte
  2. npm install
  3. Make some changes to your Svelte app
  4. npm run build
  5. Deploy the Svelte static resource to Salesforce

About

Playing around with mounting a Svelte app inside LWC.


Languages

Language:HTML 45.8%Language:JavaScript 34.7%Language:Apex 19.6%