Giter VIP home page Giter VIP logo

ninoish / lwc-generator Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 6.0 2.19 MB

A tool to generate Lightning Web Component (LWC) template for Salesforce Lightning Platform

Home Page: https://lwc-generator.herokuapp.com

License: MIT License

JavaScript 35.87% HTML 61.15% CSS 2.98%
lightning-web-components lwc lwc-oss lwc-demo salesforce-developers salesforce-lightning-components lightning-component lwc-opensource salesforce salesforce-lightning

lwc-generator's Introduction

lwc-generator

LWC Generator is a tool to generate Lightning Web Component (LWC) template for Salesforce Lightning Platform. Configure your lwc component settings with inputs and clicks, then press "Download" button to get lwc out of the box component files.

[Important!] NOW AVAILABLE with VSCode

LWC Generator project has been moved to LWC Builder project. It enables you to configure new LWC on VSCode in the same way as LWC Generator. Download the VSIX file and install it in your VSCode via Command Palette Extension: Install VSIX ... . This repo is no longer maintained. Please use LWC Builder.

What can LWC Generator do?

  • Basic LWC Settings
  • Targets
  • FormFactor (Mobile / Desktop)
  • Files templates (js, js-meta.xml, html, css, svg, jest test) of your choice
  • Target Properties
  • Target sObjects for RecordPage
  • Preview Contents
  • Download LWC as zip

Entire app

How to start?

Start simple by running yarn watch (or npm run watch, if you set up the project with npm). This will start the project with a local development server.

The source files are located in the src folder. All web components are within the src/modules folder. The folder hierarchy also represents the naming structure of the web components.

This tool is built with LWC. Find more information about the framework on its GitHub.

Contributing

Anyone is welcome to contribute.

Disclaimer

This tool is intended for experienced developers with LWC dev. It doesn't ensure code integrity. Please confirm the code before you deploy.

License

The code is available under the MIT license.

lwc-generator's People

Contributors

ninoish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.