You need to sign in to do that
Don't have an account?

Open lightning element using Developer Console
I have deployed the source of LWC component using sfdx force:source:push command and I need to open my LWC component in Developer Console defined like
export default class GanttView extends LightningElementHow can I edit it using Developer Console?
You cannot view Lightning Web Components in the developer console.
If you want to retrieve the code there are few options.
Using vs code (this is the recommended way for development).
Using salesforce CLI - (Internally used by VS code).
Using Ant migration tools
Using Workbench and package.xml file.
For LWC development, you need to set up your developer tools
Reference https://salesforce.stackexchange.com/questions/288701/how-to-open-lwc-without-vscode-salesforce
There is an idea as well for the same for which salesfoce product team has confirmed that "the future of web-based development will be Code Builder. ".
Developer console will not have any new features added to support it.
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
All Answers
You cannot view Lightning Web Components in the developer console.
If you want to retrieve the code there are few options.
Using vs code (this is the recommended way for development).
Using salesforce CLI - (Internally used by VS code).
Using Ant migration tools
Using Workbench and package.xml file.
For LWC development, you need to set up your developer tools
Reference https://salesforce.stackexchange.com/questions/288701/how-to-open-lwc-without-vscode-salesforce
There is an idea as well for the same for which salesfoce product team has confirmed that "the future of web-based development will be Code Builder. ".
Developer console will not have any new features added to support it.
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you