How to create a Lightning Web Component without Salesforce DX?Dynamic component creation in Lightning Web ComponentsWhy Lightning Web Componentnot able to push lightning-web-component in salesforceSalesforce Lightning Web ComponentjsPDF and Salesforce Lightning Web ComponentLightning Web Component ComboboxLightning Web Component Push FailedLightning web component listen to Aura EventsLightning Web Component Custom SortingLightning Web Component - Sort table columns

Definition of 'vrit'

How is the idea of "girlfriend material" naturally expressed in Russian?

Print 'A' 1000 times with BrainFuck

"What is the maximum that Player 1 can win?"

reverse a call to mmap()

Syntax and semantics of XDV commands (XeTeX)

What is this plant I saw for sale at a Romanian farmer's market?

Why there is a red color in right side?

Why are there no file insertion syscalls

Would a 7805 5 V regulator drain a 9 V battery?

First occurrence in the Sixers sequence

Why things float in space, though there is always gravity of our star is present

No shading in ContourPlot3D

I have found ports on my Samsung smart tv running a display service. What can I do with it?

How to take photos with a yellowish tone and point-and-shoot film camera look?

Large-n limit of the distribution of the normalized sum of Cauchy random variables

My student in one course asks for paid tutoring in another course. Appropriate?

'No arbitrary choices' intuition for natural transformation.

Predict the product from the reaction

What is the "ls" directory in my home directory?

How to make all magic-casting innate, but still rare?

Why is it 出差去 and not 去出差?

What is this airplane that sits in front of Barringer High School in Newark, NJ?

Need help understanding the double sharp turn in Chopin's prelude in e minor



How to create a Lightning Web Component without Salesforce DX?


Dynamic component creation in Lightning Web ComponentsWhy Lightning Web Componentnot able to push lightning-web-component in salesforceSalesforce Lightning Web ComponentjsPDF and Salesforce Lightning Web ComponentLightning Web Component ComboboxLightning Web Component Push FailedLightning web component listen to Aura EventsLightning Web Component Custom SortingLightning Web Component - Sort table columns






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








4















I want to create a Lightning Web Component (LWC) that be included in a managed package. Our current process uses SublimeText and Mavensmate (which I know is deprecated). We also use GitHub as our repository to move code and it is deployed using CircleCI. We don't want to re-do our entire set up because this LWC is only a small part of the larger package.



However, every tutorial I've seen for LWC uses SalesforceDX to set it up. Is there a way to create a LWC without SalesforceDX? I understand that Mavensmate doesn't support LWCs but are there other options? I'm even willing to use the Developer Console if needed.










share|improve this question
























  • There is an idea created for this.

    – PasanE
    Jun 10 at 19:46


















4















I want to create a Lightning Web Component (LWC) that be included in a managed package. Our current process uses SublimeText and Mavensmate (which I know is deprecated). We also use GitHub as our repository to move code and it is deployed using CircleCI. We don't want to re-do our entire set up because this LWC is only a small part of the larger package.



However, every tutorial I've seen for LWC uses SalesforceDX to set it up. Is there a way to create a LWC without SalesforceDX? I understand that Mavensmate doesn't support LWCs but are there other options? I'm even willing to use the Developer Console if needed.










share|improve this question
























  • There is an idea created for this.

    – PasanE
    Jun 10 at 19:46














4












4








4


1






I want to create a Lightning Web Component (LWC) that be included in a managed package. Our current process uses SublimeText and Mavensmate (which I know is deprecated). We also use GitHub as our repository to move code and it is deployed using CircleCI. We don't want to re-do our entire set up because this LWC is only a small part of the larger package.



However, every tutorial I've seen for LWC uses SalesforceDX to set it up. Is there a way to create a LWC without SalesforceDX? I understand that Mavensmate doesn't support LWCs but are there other options? I'm even willing to use the Developer Console if needed.










share|improve this question
















I want to create a Lightning Web Component (LWC) that be included in a managed package. Our current process uses SublimeText and Mavensmate (which I know is deprecated). We also use GitHub as our repository to move code and it is deployed using CircleCI. We don't want to re-do our entire set up because this LWC is only a small part of the larger package.



However, every tutorial I've seen for LWC uses SalesforceDX to set it up. Is there a way to create a LWC without SalesforceDX? I understand that Mavensmate doesn't support LWCs but are there other options? I'm even willing to use the Developer Console if needed.







lightning-web-components






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 10 at 17:50









Jayant Das

22.9k21435




22.9k21435










asked Jun 10 at 17:05









RozgonyiRozgonyi

271111




271111












  • There is an idea created for this.

    – PasanE
    Jun 10 at 19:46


















  • There is an idea created for this.

    – PasanE
    Jun 10 at 19:46

















There is an idea created for this.

– PasanE
Jun 10 at 19:46






There is an idea created for this.

– PasanE
Jun 10 at 19:46











3 Answers
3






active

oldest

votes


















6














You don't need SFDX at all (yes, even Salesforce CLI is not needed). It's fully supported by Metadata API.



Personally I'm using Illuminated Cloud plugin for deploying/retrieving LWCs but it's also possible to use Ant Migration Tool to do that (or other tool that's currently supporting deployments at API 45)



Add to yours package.xml:



<types>
<members>*</members>
<name>LightningComponentBundle</name>
</types>


Its available since API 45.



There is one limitation though as @Jayant Das mentioned. You cannot use Developer Console to create them.



Docs






share|improve this answer

























  • +1. I was not aware of the Metadata API support already available.

    – Jayant Das
    Jun 10 at 17:46











  • Its good to know that its supported by the Metadata API. Our CircleCI uses the Ant Migration Tool and so I just used that to create it after adding those lines it to the page. I did end up use the Salesforce CLI just to get the proper directory structure.

    – Rozgonyi
    Jun 11 at 15:05


















0














UPDATE:
Updated the answer to reflect Metadata API support for LWC.




You don't need the full fledged Salesforce DX here. To be able to use LWC, you can use the following.




  • Salesforce CLI. To be able to create projects, move components from sandbox to sandbox


  • Metadata API. If not using CLI, you can use this to move components from sandbox to sandbox

  • A code editor (preferably VS Code). You cannot use Developer Console to develop LWCs.

The following documentation provide more details on this topic:




  • Set Up Your Development Environment

  • Development Workflows


  • LightningComponentBundle Metadata API





share|improve this answer
































    0














    I personally use VSCode. It is very easy to setup if you follow these steps to install it with all of the salesforce supported extensions https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install. Then, link your ORG(NOT scratch org, your sandbox or prod org) following these steps https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install
    I hope this helps.






    share|improve this answer























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "459"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f265360%2fhow-to-create-a-lightning-web-component-without-salesforce-dx%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      6














      You don't need SFDX at all (yes, even Salesforce CLI is not needed). It's fully supported by Metadata API.



      Personally I'm using Illuminated Cloud plugin for deploying/retrieving LWCs but it's also possible to use Ant Migration Tool to do that (or other tool that's currently supporting deployments at API 45)



      Add to yours package.xml:



      <types>
      <members>*</members>
      <name>LightningComponentBundle</name>
      </types>


      Its available since API 45.



      There is one limitation though as @Jayant Das mentioned. You cannot use Developer Console to create them.



      Docs






      share|improve this answer

























      • +1. I was not aware of the Metadata API support already available.

        – Jayant Das
        Jun 10 at 17:46











      • Its good to know that its supported by the Metadata API. Our CircleCI uses the Ant Migration Tool and so I just used that to create it after adding those lines it to the page. I did end up use the Salesforce CLI just to get the proper directory structure.

        – Rozgonyi
        Jun 11 at 15:05















      6














      You don't need SFDX at all (yes, even Salesforce CLI is not needed). It's fully supported by Metadata API.



      Personally I'm using Illuminated Cloud plugin for deploying/retrieving LWCs but it's also possible to use Ant Migration Tool to do that (or other tool that's currently supporting deployments at API 45)



      Add to yours package.xml:



      <types>
      <members>*</members>
      <name>LightningComponentBundle</name>
      </types>


      Its available since API 45.



      There is one limitation though as @Jayant Das mentioned. You cannot use Developer Console to create them.



      Docs






      share|improve this answer

























      • +1. I was not aware of the Metadata API support already available.

        – Jayant Das
        Jun 10 at 17:46











      • Its good to know that its supported by the Metadata API. Our CircleCI uses the Ant Migration Tool and so I just used that to create it after adding those lines it to the page. I did end up use the Salesforce CLI just to get the proper directory structure.

        – Rozgonyi
        Jun 11 at 15:05













      6












      6








      6







      You don't need SFDX at all (yes, even Salesforce CLI is not needed). It's fully supported by Metadata API.



      Personally I'm using Illuminated Cloud plugin for deploying/retrieving LWCs but it's also possible to use Ant Migration Tool to do that (or other tool that's currently supporting deployments at API 45)



      Add to yours package.xml:



      <types>
      <members>*</members>
      <name>LightningComponentBundle</name>
      </types>


      Its available since API 45.



      There is one limitation though as @Jayant Das mentioned. You cannot use Developer Console to create them.



      Docs






      share|improve this answer















      You don't need SFDX at all (yes, even Salesforce CLI is not needed). It's fully supported by Metadata API.



      Personally I'm using Illuminated Cloud plugin for deploying/retrieving LWCs but it's also possible to use Ant Migration Tool to do that (or other tool that's currently supporting deployments at API 45)



      Add to yours package.xml:



      <types>
      <members>*</members>
      <name>LightningComponentBundle</name>
      </types>


      Its available since API 45.



      There is one limitation though as @Jayant Das mentioned. You cannot use Developer Console to create them.



      Docs







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Jun 11 at 19:08

























      answered Jun 10 at 17:39









      user1974566user1974566

      1,413417




      1,413417












      • +1. I was not aware of the Metadata API support already available.

        – Jayant Das
        Jun 10 at 17:46











      • Its good to know that its supported by the Metadata API. Our CircleCI uses the Ant Migration Tool and so I just used that to create it after adding those lines it to the page. I did end up use the Salesforce CLI just to get the proper directory structure.

        – Rozgonyi
        Jun 11 at 15:05

















      • +1. I was not aware of the Metadata API support already available.

        – Jayant Das
        Jun 10 at 17:46











      • Its good to know that its supported by the Metadata API. Our CircleCI uses the Ant Migration Tool and so I just used that to create it after adding those lines it to the page. I did end up use the Salesforce CLI just to get the proper directory structure.

        – Rozgonyi
        Jun 11 at 15:05
















      +1. I was not aware of the Metadata API support already available.

      – Jayant Das
      Jun 10 at 17:46





      +1. I was not aware of the Metadata API support already available.

      – Jayant Das
      Jun 10 at 17:46













      Its good to know that its supported by the Metadata API. Our CircleCI uses the Ant Migration Tool and so I just used that to create it after adding those lines it to the page. I did end up use the Salesforce CLI just to get the proper directory structure.

      – Rozgonyi
      Jun 11 at 15:05





      Its good to know that its supported by the Metadata API. Our CircleCI uses the Ant Migration Tool and so I just used that to create it after adding those lines it to the page. I did end up use the Salesforce CLI just to get the proper directory structure.

      – Rozgonyi
      Jun 11 at 15:05













      0














      UPDATE:
      Updated the answer to reflect Metadata API support for LWC.




      You don't need the full fledged Salesforce DX here. To be able to use LWC, you can use the following.




      • Salesforce CLI. To be able to create projects, move components from sandbox to sandbox


      • Metadata API. If not using CLI, you can use this to move components from sandbox to sandbox

      • A code editor (preferably VS Code). You cannot use Developer Console to develop LWCs.

      The following documentation provide more details on this topic:




      • Set Up Your Development Environment

      • Development Workflows


      • LightningComponentBundle Metadata API





      share|improve this answer





























        0














        UPDATE:
        Updated the answer to reflect Metadata API support for LWC.




        You don't need the full fledged Salesforce DX here. To be able to use LWC, you can use the following.




        • Salesforce CLI. To be able to create projects, move components from sandbox to sandbox


        • Metadata API. If not using CLI, you can use this to move components from sandbox to sandbox

        • A code editor (preferably VS Code). You cannot use Developer Console to develop LWCs.

        The following documentation provide more details on this topic:




        • Set Up Your Development Environment

        • Development Workflows


        • LightningComponentBundle Metadata API





        share|improve this answer



























          0












          0








          0







          UPDATE:
          Updated the answer to reflect Metadata API support for LWC.




          You don't need the full fledged Salesforce DX here. To be able to use LWC, you can use the following.




          • Salesforce CLI. To be able to create projects, move components from sandbox to sandbox


          • Metadata API. If not using CLI, you can use this to move components from sandbox to sandbox

          • A code editor (preferably VS Code). You cannot use Developer Console to develop LWCs.

          The following documentation provide more details on this topic:




          • Set Up Your Development Environment

          • Development Workflows


          • LightningComponentBundle Metadata API





          share|improve this answer















          UPDATE:
          Updated the answer to reflect Metadata API support for LWC.




          You don't need the full fledged Salesforce DX here. To be able to use LWC, you can use the following.




          • Salesforce CLI. To be able to create projects, move components from sandbox to sandbox


          • Metadata API. If not using CLI, you can use this to move components from sandbox to sandbox

          • A code editor (preferably VS Code). You cannot use Developer Console to develop LWCs.

          The following documentation provide more details on this topic:




          • Set Up Your Development Environment

          • Development Workflows


          • LightningComponentBundle Metadata API






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 10 at 17:49

























          answered Jun 10 at 17:29









          Jayant DasJayant Das

          22.9k21435




          22.9k21435





















              0














              I personally use VSCode. It is very easy to setup if you follow these steps to install it with all of the salesforce supported extensions https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install. Then, link your ORG(NOT scratch org, your sandbox or prod org) following these steps https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install
              I hope this helps.






              share|improve this answer



























                0














                I personally use VSCode. It is very easy to setup if you follow these steps to install it with all of the salesforce supported extensions https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install. Then, link your ORG(NOT scratch org, your sandbox or prod org) following these steps https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install
                I hope this helps.






                share|improve this answer

























                  0












                  0








                  0







                  I personally use VSCode. It is very easy to setup if you follow these steps to install it with all of the salesforce supported extensions https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install. Then, link your ORG(NOT scratch org, your sandbox or prod org) following these steps https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install
                  I hope this helps.






                  share|improve this answer













                  I personally use VSCode. It is very easy to setup if you follow these steps to install it with all of the salesforce supported extensions https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install. Then, link your ORG(NOT scratch org, your sandbox or prod org) following these steps https://forcedotcom.github.io/salesforcedx-vscode/articles/getting-started/install
                  I hope this helps.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jun 10 at 20:42









                  Lourdes MonteroLourdes Montero

                  8217




                  8217



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Salesforce Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f265360%2fhow-to-create-a-lightning-web-component-without-salesforce-dx%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                      Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                      Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?