Alpine.js is a lightweight JavaScript framework that makes it easy to add interactive behavior to WordPress without bringing in a larger frontend framework.
Alpine.js Enqueue lets you load Alpine.js only where you actually need it—on the frontend, inside wp-admin, or both. Control which pages receive it, avoid duplicate loading, choose how the script is delivered, and optionally add your own Alpine initialization code from one module.
Load Alpine.js Where You Need It
Choose to load Alpine.js on the frontend, wp-admin, or both instead of adding it globally to every WordPress page.
Avoid Duplicate Alpine.js
WP PowerSuite can detect common Alpine.js script handles and skip its own copy when Alpine is already loaded by your theme or another plugin.
Defer or Async Loading
Choose how Alpine.js loads based on your implementation. Defer is the recommended default, with Async available when required.
Add Alpine Initialization Code
Run your own code on alpine:init to register Alpine.data(), Alpine.store(), plugins, or other project-specific Alpine configuration.