Skip to main content
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

User-added image

I am new to LWC
3 réponses
  1. 8 janv. 2020, 11:34
    Can you rename your lwc component to some other name
0/9000