Created
March 26, 2022 21:54
-
-
Save Lelectrolux/ae0b1276b8d39a39d2267dd3ee0909ec to your computer and use it in GitHub Desktop.
Alpine.js + Tailwind CSS prototype starter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Prototype</title> | |
<!-- https://tailwindcss.com/docs/installation --> | |
<script src="https://cdn.tailwindcss.com" defer></script> | |
<script> | |
tailwind.config = { | |
theme: { | |
extend: {} | |
} | |
} | |
</script> | |
<style type="text/tailwindcss"></style> | |
<!-- https://alpinejs.dev/start-here --> | |
<script src="https://unpkg.com/alpinejs" defer></script> | |
</head> | |
<body> | |
<!-- Hack away ! --> | |
<script> | |
document.addEventListener('alpine:init', () => { | |
// ... | |
}) | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment