question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for Lightning Web Components Open Source

See original GitHub issue

Is your feature request related to a problem? Please describe. The LWC extension does currently not support projects that are based on LWC OSS using lwc-create-app.

Describe the solution you’d like New menu items should be shipped that augment the implementation of LWC OSS in lightning-language-server.

https://github.com/forcedotcom/lightning-language-server/issues/15

The following additions are proposed:

  • New context menu “LWC: Create Lightning Web Component” in file explorer on modules folder
  • New command palette item “LWC: Create Lightning Web Component”

Optional:

  • Adding default tasks for watch/build etc. modes.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lcamposcommented, Sep 17, 2019

Sure, but if we start adding templates directly to the extensions then we’ll now have two different places to host the same templates.

We are working towards having an easier way of loading the template plugin directly in the extensions. That is part of the whole refactoring effort we’ve gone through with that plugin. Basically building a module from the same repo that is used by the cli that can also be directly consumed by the extensions (similar to what we do with @salesforce/core) but we’re not there yet.

0reactions
AnanyaJhacommented, Jan 18, 2022

Hi @muenzpraeger! In the past year we’ve made the transition to a library-based architecture so the CLI and the Extensions will share the same business logic - and you won’t need to have the CLI installed to work with the Extensions. We’re working on making this change across all the Extensions features, but so far we’ve addressed the templates for LWC creation. Let me know if you were looking for something more with this issue, else I’ll close this soon. Thanks for the feedback, feel free to keep dropping comments 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lightning Web Components: Open Source
Lightning Web Components is open source, empowering you to explore the source code, customize the behavior for your needs, and build enterprise-ready web ......
Read more >
Getting Started with Lightning Web Components Open Source ...
Create and deploy a Lightning Web Components Open Source (LWC OSS) project on Heroku with this tutorial.
Read more >
Open Source Lightning Web Components : Connect With ...
Connect the Open Source Lightning Web Components with Salesforce. Display data from Salesforce in LWC components and allow user to perform ...
Read more >
Learn How To Use The New Lightning Web Components ...
That's why I am quickly moving into adding SLDS, where we have two options ... When Salesforce announced LWC OSS (Lightning Web Components...
Read more >
Lightning Web Components (The Open Source Version)
While one can install the lwc library directly, actually building a project with it would take a non-trivial amount of work, e.g., creating...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found