Anyone can create and publish swup plugins. To create new plugin, install swup CLI which can create one from a template for you.
Alternatively you can head over to this template repo and follow the instructions there.
- Checkout existing plugins before creating one.
- Swup instance is automatically assigned to the plugin instance and can be accessed under
- If you feel like this should be an official swup plugin (under npm
@swuporganization) and the world could use a thing like this, contact me at email@example.com.
- Use swups
logmethod to output any relevant information. By default the method doesn’t do anything, but swup does output any calls in case debug plugin is used.
- All plugins should clean up any changes to swup/event listeners in