-
Notifications
You must be signed in to change notification settings - Fork 94
Installation
James Hou edited this page Aug 16, 2021
·
22 revisions
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.
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:
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
Sample cli cmd:
sfdx force:package:install --package 04t1Q000001MRtvQAG -u prod -w 30
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 namedlwcutils
.
sfdx force:package:install --package 04t1Q000001MRu0QAG -u lwcutils -w 30