Alpine AJAX

An Alpine.js plugin for building server-powered frontends.

README

Alpine AJAX


A set of AlpineJS directives that enable forms and links to make asynchronous HTTP requests and render the response to the page.

Learn more at alpine-ajax.js.org.

Contributing


Clone this repo and run npm install to get started.

npm run build will build a fresh version of the library in /dist.

npm run watch will watch for file changes and rebuild the library.

Documentation


The documentation site is hosted at https://alpine-ajax.js.org, the source files are located in/docs.

npm run start will locally server the documentation site built with Eleventy. The site automatically bundles the latest Alpine AJAX build in/docs/js/main.js.

Testing


Tests are located in /tests.

npm run test will run the test suite in the Cypress CLI.

npm run cypress will open the Cypress browser UI.