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
Amar Kumar 43Amar Kumar 43 

VS code Issue with LWC folder structure

In VS code all the components of an LWC is getting created in another folder like HTML is in s separate folder and js is in another folder. Anyone else id also facing the same. Due to this I am not able to deploy lwc changes to org.
Image for the folder structure of lwc.
LWC folder structure

Any help will be appreciated. 

SwethaSwetha (Salesforce Developers) 
Hi Amar,
I have not been able to reproduce this behavior in VS Code. Do you have any additional extensions installed in your VS? Also, when you create a new LWC by right-clicking on LWC>SFDX: Create Lightning Web Component does it create the same structure?
Mahesh NirmalMahesh Nirmal

Hi Amar have you checked the Folder before creating a Lightning Web Component?

User-added image

User-added image