Skip to content

Commit

Permalink
docs: add tailwindcss (#2421)
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoran-chen authored Aug 13, 2024
1 parent 849fec7 commit b2ab4cf
Show file tree
Hide file tree
Showing 5 changed files with 1,396 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/.prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"jsxSingleQuote": true,
"singleQuote": true,
"quoteProps": "consistent",
"plugins": ["prettier-plugin-astro"],
"plugins": ["prettier-plugin-astro", "prettier-plugin-tailwindcss"],
"overrides": [
{
"files": "*.astro",
Expand Down
2 changes: 2 additions & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import tailwind from '@astrojs/tailwind';

// https://astro.build/config
export default defineConfig({
Expand Down Expand Up @@ -38,5 +39,6 @@ export default defineConfig({
},
],
}),
tailwind(),
],
});
Loading

0 comments on commit b2ab4cf

Please sign in to comment.