DEV Community

Félix Moreno
Félix Moreno

Posted on

1- Alpine.js ¿Cómo instalar?

La manera más sencilla de instalar Alpine.js es agregando el script siguiente:

<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
Enter fullscreen mode Exit fullscreen mode

Ejemplo:

Creamos un documento llamado index.html, y agregamos el siguiente código

<!DOCTYPE html>
<html lang="en">
<head>

    <script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

</body>
</html>
Enter fullscreen mode Exit fullscreen mode

Referencias:

Alpine.js - Documentación

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more