Get started with alpinejs CDN

MIT licensed

Lightweight JS framework. Interactive apps. Alpine.js. Declarative syntax.

Tags:
  • framework
  • reactive
  • declarative

Stable version

Copied!

How to start using alpinejs CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with alpinejs CDN - cdnhub.io</title>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/alpine.min.js" defer></script>
</head>
<body>
    <div x-data="{ count: 0 }">
        <button @click="count++">Click me to increment count</button>
        <p>Count: {{ count }}</p>
    </div>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions