diff --git a/frontend/index.html b/frontend/index.html index dc66979..38980bd 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -8,6 +8,6 @@
- + diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 4565616..aafc248 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -2,6 +2,7 @@ import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; export default defineConfig({ + root: '.', // プロジェクトルートを明示 plugins: [react()], server: { port: 3000, @@ -12,5 +13,4 @@ export default defineConfig({ input: "index.html", }, }, - root: process.cwd(), // 現在の作業ディレクトリ(frontend)をルートとして明示 }); diff --git a/next.config.js b/next.config.js index f83dccb..d046680 100644 --- a/next.config.js +++ b/next.config.js @@ -2,6 +2,7 @@ const nextConfig = { reactStrictMode: true, output: 'standalone', + // Vite を使用している場合は Next.js の dev server は使わない }; module.exports = nextConfig;