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.
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.
The documentation site is hosted at https://alpine-ajax.js.org, the source files are located in /docs
.
npm run start
will locally serve the documentation site built with Eleventy. The site automatically bundles the latest Alpine AJAX build in /docs/js/main.js
.
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.