• Stars
    star
    145
  • Rank 254,144 (Top 6 %)
  • Language
    HTML
  • License
    Apache License 2.0
  • Created over 2 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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:

<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/async-alpine.script.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn.min.js"></script>

Using npm:

npm install async-alpine

For more info check out our Getting Started guide.

Documentation

Read our full documentation on our website.

Issues, Support, Requests and Contributions

If you've found an incompatibility, bug, limitation or have a feature request file an issue 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.

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 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, or at apache.org/licenses/LICENSE-2.0.

Copyright © 2022 Alistair Shepherd.

More Repositories

1

cead-consent

Simple, lightweight and easy-to-implement Cookie/Tracking consent manager for the web
JavaScript
59
star
2

alpine-splide

The Alpine component for Splide
JavaScript
17
star
3

alistair-shepherd

Website for alistairshepherd.uk
Nunjucks
12
star
4

monolith-koken

A bold Bootstrap 4 Koken theme with extensive customisability built for photographers and artists.
CSS
11
star
5

rss

XML export of my RSS subscriptions
8
star
6

llm-cohere

Plugin for LLM adding support for Cohere's Generate and Summarize models
Python
6
star
7

klaro-gridsome

Wrapper for Klaro! cookie consent manager for easy use in Gridsome projects
JavaScript
6
star
8

php-plaiceholder

PHP implementation of Plaiceholder - CSS, SVG, Base64 and Blurhash image placeholders.
PHP
5
star
9

opera-new-tab-page

Extension to change the new tab page in newer versions of Opera.
JavaScript
4
star
10

sailwind

Generate fluid spacing within tailwind using CSS clamp and viewport units
JavaScript
4
star
11

sphider-bootstrap4

A bootstrap 4 theme for Sphider, the PHP search engine and spider.
HTML
3
star
12

speedscanner

Project using WebPageTest to monitor frontend performance
Vue
3
star
13

vercel-geoip

Simple, cheap GeoIP API using Vercel Edge
JavaScript
2
star
14

lost-in-translation

JavaScript
2
star
15

accudio-responsive

A simple vue.js project displaying a website in various responsive devices using iframes
Vue
2
star
16

swup-meta-tags-plugin

Update meta tags in head on swup page change
JavaScript
2
star
17

mytopforspotify-server

Server for mytopspotify.io. Based on Spotify's 'authorization_code' Developer Authentication Example. Built by Alistair Shepherd from Accudio.
JavaScript
2
star
18

speedscanner.org

Website for Speedscanner web performance monitoring. Hosted at speedscanner.org
JavaScript
1
star
19

netlify-geoip

Simple, cheap GeoIP API using Netlify Edge Functions
JavaScript
1
star
20

accudio-tweaks

Basic tweaks and changes for Wordpress, site security, and WooCommerce.
PHP
1
star
21

mytopforspotify-webclient

Web Client for mytopspotify.io, based on React and built using create-react-app. Authenticates with Spotify using My Top Spotify Server. Built by Alistair Shepherd from Accudio.
JavaScript
1
star
22

pingit.to

Send URLs between mobile and desktop devices using QR codes with no need for accounts, tracking, or unnecessary bells and whistles.
JavaScript
1
star