Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/accudio/async-alpine

Async Alpine brings advanced code splitting and lazy-loading to Alpine.js components!
https://github.com/accudio/async-alpine

Last synced: 2 days ago
JSON representation

Async Alpine brings advanced code splitting and lazy-loading to Alpine.js components!

Awesome Lists containing this project

README

        

Async Alpine


Code splitting and lazy-loading components for Alpine.js!


Async Alpine is a wrapper around the Alpine.js JavaScript framework that allows you to load components asynchronously on-demand.

Alpine.js is a fantastic framework but with a large site with lots of components, the bundle size can start to become a performance problem!

Async Alpine allows you to split your components into multiple component files and only load them when they're needed, speeding up your first load!

## Installation

Using a CDN:

```html

```

Using [npm](https://www.npmjs.com/package/async-alpine):

```sh
npm install async-alpine
```

For more info check out our [Getting Started guide](https://async-alpine.dev/docs/).

## Documentation

Read our [full documentation](https://async-alpine.dev/docs/) on our website.

## Issues, Support, Requests and Contributions

If you've found an incompatibility, bug, limitation or have a feature request [file an issue](https://github.com/accudio/async-alpine/issues) and we'll take a look.

For advice on how best to install or use Async Alpine or general questions about the project [create a Discussion](https://github.com/accudio/async-alpine/discussion).

Have you found some bugs you want to help us fix, or do you have some great ideas that would improve Async Alpine? That's great! Before diving in [file an Issue](https://github.com/accudio/async-alpine/issues) and let us know what you're planning and we can get you contributing!

## License and Credits

This project is licensed under the Apache-2.0 license.

The full license is included at [LICENSE.md](/accudio/async-alpine/blob/main/LICENSE.md), or at [apache.org/licenses/LICENSE-2.0](https://apache.org/licenses/LICENSE-2.0).

Copyright © [Alistair Shepherd](https://alistairshepherd.uk).