Skip to content

Commit 89597a0

Browse files
committed
fix: correct script path in index.astro and add scripts path in tsconfig.json
1 parent 2a0edc4 commit 89597a0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ import ContactSection from '@/components/ContactSection.astro'
2020
<footer class="bg-grayblue-800 py-6 text-center text-sm text-grayblue-400">
2121
<p>Made with ♥️ from Chihuahua, Mexico.</p>
2222
</footer>
23-
<script type="module" src="/src/scripts/fade-in-observer.js"></script>
23+
<script src="@/scripts/fade-in-observer.js"></script>
2424
</Layout>

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"@/components/*": ["src/components/*"],
1010
"@/layouts/*": ["src/layouts/*"],
1111
"@/pages/*": ["src/pages/*"],
12-
"@/assets/*": ["src/assets/*"]
12+
"@/assets/*": ["src/assets/*"],
13+
"@/scripts/*": ["src/scripts/*"],
1314
}
1415
}
1516
}

0 commit comments

Comments
 (0)