You need to sign in to do that
Don't have an account?
sevindu
I have created two LWC component and in my prop.html I want to add lWC component.
<template>
<ligthning-input label="percentage" type="number" min="0"
max="100" value={percentage} onchange={changepercent}></ligthning-input>
<c-lwc percentage={percentage}></c-lwc>
</template>
When I try to push this to my scratch org I am getting the following error
I am new to LWC
Add another LWC component to a LWC component
I have created two LWC component and in my prop.html I want to add lWC component.
<template>
<ligthning-input label="percentage" type="number" min="0"
max="100" value={percentage} onchange={changepercent}></ligthning-input>
<c-lwc percentage={percentage}></c-lwc>
</template>
When I try to push this to my scratch org I am getting the following error
I am new to LWC
All Answers
my file name is
the corresponding component reference should be
😂note the underscroll and the dash.