mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-08 16:25:58 +08:00
@W-21783760 Update instructions to ensure templates plugin is installed
This commit is contained in:
parent
dbc34c06ff
commit
097a7ae109
@ -43,10 +43,16 @@ sf template generate flexipage \
|
|||||||
--output-dir force-app/main/default/flexipages
|
--output-dir force-app/main/default/flexipages
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note:** If the `sf template generate flexipage` command fails, recommend users upgrade to the latest version of the Salesforce CLI:
|
**CRITICAL:** If the `sf template generate flexipage` command fails, **STOP**.
|
||||||
```bash
|
|
||||||
npm install -g @salesforce/cli@latest
|
1. Install the templates plugin:
|
||||||
```
|
```bash
|
||||||
|
sf plugins install templates
|
||||||
|
```
|
||||||
|
2. Retry the `sf template generate flexipage` command
|
||||||
|
3. Verify the FlexiPage XML file was created
|
||||||
|
|
||||||
|
Do NOT continue to Step 2 until the template command succeeds. The generated XML is required for the entire workflow.
|
||||||
|
|
||||||
#### **Template-specific requirements**
|
#### **Template-specific requirements**
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user