Fix Tailwind CDN: add is:inline to prevent Astro module bundling
This commit is contained in:
@@ -18,7 +18,8 @@ const currentPath = Astro.url.pathname;
|
|||||||
<meta name="robots" content="All" />
|
<meta name="robots" content="All" />
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<script>
|
<script is:inline src="https://cdn.tailwindcss.com"></script>
|
||||||
|
<script is:inline>
|
||||||
tailwind.config = {
|
tailwind.config = {
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
@@ -31,7 +32,6 @@ const currentPath = Astro.url.pathname;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="https://cdn.tailwindcss.com"></script>
|
|
||||||
<style>
|
<style>
|
||||||
/* Dropdown menu */
|
/* Dropdown menu */
|
||||||
.nav-dropdown:hover .dropdown-menu { display: block; }
|
.nav-dropdown:hover .dropdown-menu { display: block; }
|
||||||
|
|||||||
Reference in New Issue
Block a user