Skip to content

Instantly share code, notes, and snippets.

@britishboyindc
Created September 23, 2019 17:21
Show Gist options
  • Save britishboyindc/5c0ba99c1bc27ee30740a5725897e48b to your computer and use it in GitHub Desktop.
Save britishboyindc/5c0ba99c1bc27ee30740a5725897e48b to your computer and use it in GitHub Desktop.
Pushed 0/1 components to ebikes-lwc in 14 s 30 ms with status 1.
Failures
========
• LightningComponentBundle/null: ERROR at line 1, column 1 - LWC1078: <p> has no matching closing tag.
<template>
<lightning-card title="Hello">
<lightning-button label="New" slot="actions"></lightning-button>
<p class="slds-p-horizontal_small">
<lightning-record-view-form record-id={recordId} object-api-name="Account">
<div class="slds-grid">
<div class="slds-col slds-size_1-of-2">
<lightning-output-field field-name="Name"></lightning-output-field>
<lightning-output-field field-name="Phone"></lightning-output-field>
</div>
<div class="slds-col slds-size_1-of-2">
<lightning-output-field field-name="Industry"></lightning-output-field>
<lightning-output-field field-name="AnnualRevenue"></lightning-output-field>
</div>
</div>
</lightning-record-view-form>
</p>
</lightning-card>
</template>
import { LightningElement, api } from 'lwc';
export default class DemoParagrpah3 extends LightningElement {
// Expose a recordId property.
@api recordId;
}
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>45.0</apiVersion>
<description>Demo Paragrpah 3</description>
<isExposed>false</isExposed>
<masterLabel>Demo Paragrpah 3</masterLabel>
<targets>
<target>lightning__RecordPage</target>
</targets>
</LightningComponentBundle>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment