File tree 5 files changed +378
-1
lines changed
5 files changed +378
-1
lines changed Original file line number Diff line number Diff line change
1
+ /** @type {import("prettier").Config } */
2
+ const config = {
3
+ plugins : [
4
+ "prettier-plugin-astro" ,
5
+ "prettier-plugin-tailwindcss" , // MUST come last
6
+ ] ,
7
+ overrides : [
8
+ {
9
+ files : "*.astro" ,
10
+ options : {
11
+ parser : "astro" ,
12
+ } ,
13
+ } ,
14
+ ] ,
15
+ } ;
16
+
17
+ export default config ;
Original file line number Diff line number Diff line change @@ -95,6 +95,14 @@ export default defineConfig({
95
95
href : "/manifest.webmanifest" ,
96
96
} ,
97
97
} ,
98
+ {
99
+ tag : "link" ,
100
+ attrs : {
101
+ rel : "preconnect" ,
102
+ href : "https://JXZNTZ86UN-dsn.algolia.net" ,
103
+ crossorigin : true ,
104
+ } ,
105
+ } ,
98
106
{
99
107
tag : "script" ,
100
108
attrs : {
@@ -107,6 +115,9 @@ export default defineConfig({
107
115
logo : {
108
116
src : "./src/assets/astronvim.svg" ,
109
117
} ,
118
+ components : {
119
+ Search : "./src/components/Search.astro" ,
120
+ } ,
110
121
customCss : [
111
122
// Path to your Tailwind base styles:
112
123
"./src/tailwind.css" ,
Original file line number Diff line number Diff line change 14
14
"@astrojs/starlight" : " ^0.11.1" ,
15
15
"@astrojs/starlight-tailwind" : " ^2.0.0" ,
16
16
"@astrojs/tailwind" : " ^5.0.2" ,
17
+ "@docsearch/css" : " ^3.5.2" ,
18
+ "@docsearch/js" : " ^3.5.2" ,
17
19
"astro" : " ^3.3.0" ,
18
20
"sharp" : " ^0.32.6" ,
19
21
"tailwindcss" : " ^3.3.3"
20
22
},
21
23
"devDependencies" : {
22
24
"@netlify/plugin-lighthouse" : " ^5.0.0" ,
23
25
"netlify-plugin-checklinks" : " ^4.1.1" ,
24
- "netlify-plugin-submit-sitemap" : " ^0.4.0"
26
+ "netlify-plugin-submit-sitemap" : " ^0.4.0" ,
27
+ "prettier" : " ^3.0.3" ,
28
+ "prettier-plugin-astro" : " ^0.12.0" ,
29
+ "prettier-plugin-tailwindcss" : " ^0.5.6"
25
30
}
26
31
}
You can’t perform that action at this time.
0 commit comments