File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 11// @ts -check
2- import { defineConfig } from 'astro/config' ;
2+ import { defineConfig } from 'astro/config' ;
33import tailwindcss from "@tailwindcss/vite" ;
44
55import react from "@astrojs/react" ;
66
77// https://astro.build/config
88export default defineConfig ( {
9- site : "https://chamchi0809.github.io" ,
9+ site : "https://chamchi0809.github.io" ,
1010
11- vite : {
12- plugins : [ tailwindcss ( ) ]
13- } ,
11+ prefetch : {
12+ prefetchAll : true ,
13+ } ,
1414
15- integrations : [ react ( ) ]
15+ vite : {
16+ plugins : [ tailwindcss ( ) ]
17+ } ,
18+
19+ integrations : [ react ( ) ]
1620} ) ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import Layout from '../layouts/Layout.astro';
88
99<Layout >
1010 <div class =" w-full h-full relative" >
11- <MonitorBG client:only = " react " >
11+ <MonitorBG client:load >
1212 <Fragment slot =" fallback" >
1313 <div class =" w-full h-full text-bright text-3xl flex flex-col gap-2 justify-center items-center" >
1414 <div class =" loader" >
You can’t perform that action at this time.
0 commit comments