Add this addon to Local By Flywheel to see the active and inactive plugins for each site. This addon currently lists active and inactive themes/plugins. Now completely functional with Local by Flywheel v2.0. This addon will no longer work for Local versions less than 2.0
- Download the latest release as a zip
- Extract contents of zip to desired location
- Open Local by Flywheel and go to Settings
- Click 'Addons' and 'Install Addon' and choose the location from step 2.
- Clone this repo:
git clone [email protected]:JRGould/local-addon-plugins-themes.git local-addon-plugins-themes
- Run
npm install
- Run initial build:
npm run-script build
- Link into Local's
addon
directory:ln -s "$(pwd)" ~/Library/Application\ Support/Local\ by\ Flywheel/addons
- Restart Local and activate addon from Settings > Addons
- To automatically transpile your JS while developing, just start watch task:
npm run-script watch
. - The only thing this starter addon currently does is open dev tools in Local and add a
reload()
function to the window object, typereload()
into the dev tools console after you've saved/transpiled to see your changes. - I've noticed that using the symbolic link described in step 4. of the Quick Start can cause ridiculously long loading times. It's probably easier to develop directory inside the addon folder.
npm install
All files in /src
will be transpiled to /lib
using Babel. Anything in /lib
will be overwritten.
npm run-script build
or npm run-script watch
to transpile when source files are saved
Not familiar with some or any of these terms? Here are a few resources to get you up to speed.
- Node.js
- Babel
- ES6/ES2015
- babel: Turn ES6 code into readable vanilla ES5 with source maps
- babel-cli: Babel command line.
- babel-preset-es2015: Babel preset for all es2015 plugins.
- babel-preset-react: Babel preset for all React plugins.
- babel-preset-stage-0: Babel preset for stage 0 plugins
- auto-changelog: auto generates a changelog from git tags and commit history
MIT