Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/imacrayon/alpine-ajax
- Owner: imacrayon
- License: mit
- Created: 2021-06-13T02:29:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-09T14:51:31.000Z (4 months ago)
- Last Synced: 2024-07-09T18:58:46.277Z (4 months ago)
- Topics: ajax, alpinejs, fetch, forms, hacktoberfest, hateoas, html, hypermedia, javascript, progressive-enhancement, utilites
- Language: JavaScript
- Homepage: https://alpine-ajax.js.org
- Size: 2.46 MB
- Stars: 433
- Watchers: 5
- Forks: 9
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome - Alpine AJAX - Tools to build AJAX-powered components and UI
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