perf: dynamic import viewer three.js (tách khỏi bundle chính)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
tuyenio
2026-06-25 09:31:52 +07:00
parent 2bd2a42dcf
commit a0c202546e
4 changed files with 40 additions and 4 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import type { Metadata } from "next";
import VirtualTour from "@/app/components/VirtualTour";
import TourClient from "./TourClient";
export const metadata: Metadata = {
title: "VR360 Chùa Thái Lạc (Pháp Vân tự)",
@@ -8,5 +8,5 @@ export const metadata: Metadata = {
};
export default function ChuaThaiLacTourPage() {
return <VirtualTour tourId="chua-thai-lac" />;
return <TourClient tourId="chua-thai-lac" />;
}