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" />
|
||||
<title>{title}</title>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<script>
|
||||
<script is:inline src="https://cdn.tailwindcss.com"></script>
|
||||
<script is:inline>
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
@@ -31,7 +32,6 @@ const currentPath = Astro.url.pathname;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<style>
|
||||
/* Dropdown menu */
|
||||
.nav-dropdown:hover .dropdown-menu { display: block; }
|
||||
|
||||
Reference in New Issue
Block a user