Alpine.js

by tedem 1 Star 10 Downloads

Allows you to use Alpine.js magics (`$el, $refs, $store, ...`) in templates.

Project Details

MyBB Alpine.js

Allows you to use Alpine.js magics ($el, $refs, $store, ...) in templates.

Details

Version: 1.0.0
MyBB Versions: 1.8.x

Install

1. Download the plugin.
2. Upload the files in the "Upload" folder to the root directory of your forum with SSH (scp command.) or FTP (FileZilla, CuteFTP, etc.).
3. Install and activate the plugin named Alpine.js from the Admin KP → Configuration → (From left.) Plugins page.

Usage

The variables you will use in templates for Alpine.js magics are as follows.

$el → $alpinejs['_el']
$refs → $alpinejs['_refs']
$store → $alpinejs['_store']
$watch → $alpinejs['_watch']
$dispatch → $alpinejs['_dispatch']
$nextTick → $alpinejs['_nextTick']
$root → $alpinejs['_root']
$data → $alpinejs['_data']
$id → $alpinejs['_id']
Author
tedem
Collaborators
None
Version
v1.0.0
Submitted
2022-12-04, 05:32 PM
Last Updated
2022-12-04, 06:11 PM
Bug Tracking
External
MyBB Versions
1.8.x