Release 2025-05-19
This commit is contained in:
11
web/src/components/TailwindJsPluggin.astro
Normal file
11
web/src/components/TailwindJsPluggin.astro
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
<script>
|
||||
document.body.classList.add('js')
|
||||
|
||||
document.addEventListener('astro:before-swap', (event) => {
|
||||
event.newDocument.body.classList.add('js')
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user