@victoryoalli/alpinejs-moment
v1.0.0
Published
An alpine.js magic helper plugin wrapper for moment.js
Downloads
1,728
Readme
alpinejs-moment
An Alpine JS plugin wrapper for moment.js
Usage
<div x-text="$moment().format('LTS')"></div>
Example:
Using Alpines JS Timeout Plugin you could build a clock really ease.
<div x-data x-timeout:1000="$el.innerText=$moment().format('LTS')"></div>