fix: reorder imports in astro.config.mjs and update plugin syntax in tailwind.config.cjs

This commit is contained in:
taroj1205 2024-11-04 11:22:11 +13:00
parent 047ce9cdf1
commit a720ca02ec
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import { defineConfig } from "astro/config";
// https://astro.build/config
export default defineConfig({

View file

@ -16,7 +16,7 @@ module.exports = {
},
},
plugins: [
plugin(function ({ addBase, addComponents, addUtilities, theme }) {
plugin(({ addBase, addComponents, addUtilities, theme }) => {
addBase({
h2: {
"@apply text-7xl font-bold text-primary": {},