's'
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
"use client";
|
||||
|
||||
import dynamic from "next/dynamic";
|
||||
import { HomePageSkeleton } from "./components/HomePageSkeleton";
|
||||
|
||||
const HomeClient = dynamic(() => import("./HomeClient"), {
|
||||
ssr: false,
|
||||
loading: () => <HomePageSkeleton />,
|
||||
/** 仅纯色底,避免分包加载前白屏;真正 VIP/非 VIP 界面由 HomeClient 首帧同步读 localStorage 渲染 */
|
||||
loading: () => (
|
||||
<div className="min-h-screen bg-[var(--background)]" aria-hidden />
|
||||
),
|
||||
});
|
||||
|
||||
export function HomeClientLoader() {
|
||||
|
||||
Reference in New Issue
Block a user