Hey folks! I've been rewriting my personal site using Astro, TailwindCSS and MDX along with Astro 2.0 fantastic content collections API, everything's super cool but after deploying my site to Vercel as static output and Lighthouse testing I'm experiencing the FOUC (flash of unstyled content) problem 😦 The output has 0 client side js, I'm not using any client directives and scripts
BTW thank you guys for developing Astro love it so far and looking forward to do waay more things using it!
My configuration file:
export default defineConfig({
output: "static",
integrations: [
tailwind(),
mdx({
rehypePlugins: [
rehypeHeadingIds,
rehypeTagIntentsForMdx,
],
remarkPlugins: [remarkReadingTime],
}),
prefetch(), // the issue remains if i remove prefetch too
],
});
Package versions:
@astrojs/mdx: 0.14.0
@astrojs/tailwind: 3.0.1
astro: 2.0.5