You need to sign in to do that
Don't have an account?
Akash1997
Error in VS code
Hi, I am new to VS code and LWC. I have used root tag as template but still this error is coming-
[Line: 1, Col: 1] LWC1079: Expected root tag to be template, found lightning-card
[Line: 1, Col: 1] LWC1079: Expected root tag to be template, found lightning-card
Looks like it is not saved.Try by removing all thecode and paste same code again.
Hope this helps you
If this helps kindly mark it as solved so that it may help others in future.
Thanks and Regards