added alpinejs defer script
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<script
|
||||||
|
defer
|
||||||
|
src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"
|
||||||
|
></script>
|
||||||
|
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>AF</title>
|
<title>AF</title>
|
||||||
@@ -8,5 +13,6 @@
|
|||||||
<body>
|
<body>
|
||||||
<h1>Welcome to my website</h1>
|
<h1>Welcome to my website</h1>
|
||||||
<p>Stay here please...</p>
|
<p>Stay here please...</p>
|
||||||
|
<h1 x-data="{ message: 'I ❤️ Alpine' }" x-text="message"></h1>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user