Skip to content

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

License

Notifications You must be signed in to change notification settings

adamchainz/alpine-ajax

 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

  • JavaScript 97.3%
  • HTML 2.7%