WP Manifestindependent plugin directory
manifest / developer / wp-requirejs

WP RequireJS

Load wp dependencies asynchronously with requirejs

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/rinatkhaziev/wp-requirejs/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Description

Load your WordPress scripts registered and enqueued with wp_enqueue_scripts asynchronously with requirejs. You might have to convert your scripts to be AMD-compatible.

Usage

See sample app.js. Sorry folks, no detailed how-to guide as of now