Skip to content

Installation

James Hou edited this page Aug 16, 2021 · 22 revisions

Release Package Ids

Please review the Releases page for updates about each release.

Name Package Id Version
LWC Utils - Core 04t1Q000001MRtvQAG 1.8.0
LWC Utils - Recipes 04t1Q000001MRu0QAG 1.8.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 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

And use your preferred method to move these to the desired org, some examples listed below:

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=04t1Q000001MRtvQAG

Install via Unlocked 2nd Gen Package

Sample cli cmd:

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

Install Recipes:

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

Note: Recipes is marked as beta so that it cannot be installed in production. The below example would install into a scratch org named lwcutils.

sfdx force:package:install --package 04t1Q000001MRu0QAG -u lwcutils -w 30
Clone this wiki locally