Skip to content

Installation

James Hou edited this page Oct 9, 2021 · 22 revisions

Release Package Ids

Please review the Releases page for updates about each release.

Name Package Id Version
LWC Utils - Core 04t1Q000001ACZsQAO 1.9.0
LWC Utils - Recipes 04t1Q000001ACZxQAO 1.9.0

Note that Recipes will always depend on Core being installed first.

Install via Source

This repo is in sfdx format, so the cloning down and using force:source:push (to a scratch) or force:source:deploy to a target org is straightforward:

Cloning:

git clone https://github.com/tsalb/lwc-utils
cd lwc-utils

Deploying:

sfdx force:source:deploy -p utils-core

Optionally, deploy recipes:

sfdx force:source:deploy -p utils-recipes

Install via URL

Use the following partial url to target which org you want to install these in:

/packaging/installPackage.apexp?p0=insert_the_package_id_from_above_here

Sample URL:

https://login.salesforce.com/packaging/installPackage.apexp?p0=04t1Q000001ACZsQAO

Install via Unlocked 2nd Gen Package

Sample cli cmd:

sfdx force:package:install --package 04t1Q000001ACZsQAO -u prod -w 30

Install Recipes:

Note: For first timers, I strongly recommend you install this in a fresh scratch org after you install core.

Recipes are marked as beta so that it cannot be installed in production.

These are developed, tested, and meant to be used in a scratch org only. The below example would install into a scratch org named lwcutils.

Using 2GP:

sfdx force:package:install --package 04t1Q000001ACZxQAO -u lwcutils -w 30

Using a URL:

https://my-cool-scratch-org-domain-name.salesforce.com/packaging/installPackage.apexp?p0=04t1Q000001ACZxQAO
Clone this wiki locally