function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Akash1997Akash1997 

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-cardUser-added image
Best Answer chosen by Akash1997
Devi ChandrikaDevi Chandrika (Salesforce Developers) 
Hi Akash,
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