diff --git a/apps/guide/.prettierrc.cjs b/apps/guide/.prettierrc.cjs index f004026c7..ebe8606cd 100644 --- a/apps/guide/.prettierrc.cjs +++ b/apps/guide/.prettierrc.cjs @@ -1 +1,8 @@ -module.exports = require('../../.prettierrc.json'); +module.exports = { + ...require('../../.prettierrc.json'), + plugins: [ + 'prettier-plugin-astro', + 'prettier-plugin-tailwindcss', // MUST come last + ], + pluginSearchDirs: false, +}; diff --git a/apps/guide/package.json b/apps/guide/package.json index 409f4fe8b..8b4f78b55 100644 --- a/apps/guide/package.json +++ b/apps/guide/package.json @@ -65,8 +65,8 @@ "@vitejs/plugin-react": "^2.2.0", "@vitest/coverage-c8": "^0.25.3", "astro": "^1.6.11", - "astro-compress": "^1.1.10", - "astro-critters": "^1.1.10", + "astro-compress": "^1.1.12", + "astro-critters": "^1.1.12", "cross-env": "^7.0.3", "eslint": "^8.28.0", "eslint-config-neon": "^0.1.40", @@ -77,7 +77,7 @@ "html-escaper": "^3.0.3", "prettier": "^2.8.0", "prettier-plugin-astro": "^0.7.0", - "prettier-plugin-tailwindcss": "^0.1.13", + "prettier-plugin-tailwindcss": "^0.2.0", "rehype-autolink-headings": "^6.1.1", "rehype-slug": "^5.1.0", "typescript": "^4.9.3", diff --git a/apps/guide/src/components/SidebarLayout.astro b/apps/guide/src/components/SidebarLayout.astro index abf6e29b6..e4c5da5c7 100644 --- a/apps/guide/src/components/SidebarLayout.astro +++ b/apps/guide/src/components/SidebarLayout.astro @@ -90,7 +90,7 @@ const pageNext = curCategoryPages![curCategoryIndex + 1]; /> ) } -
+
{ pageNext && (