Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/imacrayon/alpine-ajax

An Alpine.js plugin for building server-powered frontends.
https://github.com/imacrayon/alpine-ajax

ajax alpinejs fetch forms hacktoberfest hateoas html hypermedia javascript progressive-enhancement utilites

Last synced: 8 days ago
JSON representation

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

Awesome Lists containing this project

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](https://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](https://alpine-ajax.js.org), the source files are located in `/docs`.

`npm run start` will locally serve the documentation site built with [Eleventy](https://www.11ty.dev/). 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](https://www.cypress.io/) CLI.

`npm run cypress` will open the Cypress browser UI.

## Sponsors


Moonbase Labs