Spark provides an integration between Craft CMS and Datastar, a JavaScript library that combines the core functionality of Alpine JS with that of htmx. It advocates a hypermedia-first approach, meaning that you won’t find history support, JavaScript execution in responses, nor any other “bells and whistles”. This is intentional. By embracing the simplicity of hypermedia, the encapsulation of web components (natively or using Lit) and the optimised DOM operations of web broswers, you can build highly performant, hypermedia-driven web apps, without requiring a full-blown JavaScript framework.

Read the getting started guide for Datastar.

This plugin is experimental and its API is likely to change – do not use in production!

For a stable, feature-rich alternative, consider using Sprig instead.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
2
Version
0.0.1
License
MIT
Compatibility
Craft 5
Last release
October 14, 2024
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs