Skip to content

Boilerplate to quick start Local Add-on development 🚀

Notifications You must be signed in to change notification settings

ethan309/local-addon-boilerplate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Boilerplate Add-on

https://build.localwp.com/

Get Started with the Local Add-on Generator

Get up and running with your new add-on quickly and easily with the Local Add-on Generator. It is super simple to set up, and can help you start developing your new add-on in no time!

The generator uses this boilerplate add-on to get you started, making setup easy and fast. The README for the generator also has more information on how to create an amazing add-on for Local, so be sure to check it out!

Installation

Clone

Clone the repository into the following directory depending on your platform:

  • macOS: ~/Library/Application Support/Local/addons
  • Windows: C:\Users\username\AppData\Roaming\Local\addons
  • Debian Linux: ~/.config/Local/addons

You can replace 'Local' with 'Local Beta' if you want to create the add-on for Local Beta.

Install Add-on Dependencies

yarn install or npm install

Add Add-on to Local

  1. Clone repo directly into the add-ons folder (paths described above)
  2. yarn install or npm install (install dependencies)
  3. yarn build or npm run build
  4. Open Local and enable add-on

Development

External Libraries

Folder Structure

All files in /src will be transpiled to /lib using TypeScript. Anything in /lib will be overwritten.

Development Workflow

If you are looking for help getting started, you can consult the documentation for the add-on generator.

You can consult the Local add-on API, which provides a wide range of values and functions for developing your add-on.

License

MIT

About

Boilerplate to quick start Local Add-on development 🚀

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.9%
  • TypeScript 13.1%