Add TailwindCSS (#1252)

* Setup TailwindCSS

* Fully setup configuration

* Refactor some tailwind variables
This commit is contained in:
Evan Song authored and GitHub committed 2024-07-06 20:57:32 -07:00
1 parent 0f2ddb452c
commit abec2e48d4
176 files changed
+7905 -7433

No files matched your search

+6 -5
View File
@@ -1,7 +1,8 @@
/* eslint-disable no-undef */
export default defineNuxtPlugin(() => {
const nuxtApp = useNuxtApp()
const nuxtApp = useNuxtApp();
nuxtApp.hooks.hook('page:transition:finish', () => {
document.querySelector('[data-scroll]')?.scrollTo({ top: 0 })
})
})
nuxtApp.hooks.hook("page:transition:finish", () => {
document.querySelector("[data-scroll]")?.scrollTo({ top: 0 });
});
});