Can @cloudflare/vite-plugin be compatible with vite-ssg?

I used this command to create a Vue project:
pnpm create cloudflare@latest my-vue-app --framework=vue
Then, I installed vite-ssg and modified my configuration file according to the instructions in the readme file of the vite-ssg GitHub repository.
I tried to run pnpm run build, but it gave an error.
[vite-ssg] Rendering Pages... (2)
file:///workspace/node_modules/.pnpm/vite-ssg@28.2.2_unhead@2.1.2_vite@7.3.1_@types+node@24.10.7_terser@5.44.1__vue-router@4_f7dd426157f3c1909572e33b380477d9/node_modules/vite-ssg/dist/shared/vite-ssg.0i5mAeat.mjs:1452
  throw new Error(`Could not find any of the following files: ${paths.join(", ")}`);
        ^

Error: Could not find any of the following files: /workspace/dist/.vite/ssr-manifest.json, /workspace/dist/ssr-manifest.json
    at readFiles (file:///workspace/node_modules/.pnpm/vite-ssg@28.2.2_unhead@2.1.2_vite@7.3.1_@types+node@24.10.7_terser@5.44.1__vue-router@4_f7dd426157f3c1909572e33b380477d9/node_modules/vite-ssg/dist/shared/vite-ssg.0i5mAeat.mjs:1452:9)
    at build (file:///workspace/node_modules/.pnpm/vite-ssg@28.2.2_unhead@2.1.2_vite@7.3.1_@types+node@24.10.7_terser@5.44.1__vue-router@4_f7dd426157f3c1909572e33b380477d9/node_modules/vite-ssg/dist/shared/vite-ssg.0i5mAeat.mjs:1308:13)
    at async CAC.<anonymous> (file:///workspace/node_modules/.pnpm/vite-ssg@28.2.2_unhead@2.1.2_vite@7.3.1_@types+node@24.10.7_terser@5.44.1__vue-router@4_f7dd426157f3c1909572e33b380477d9/node_modules/vite-ssg/dist/node/cli.mjs:22:3)

Node.js v24.12.0
 ELIFECYCLE  Command failed with exit code 1.

This seems to be a matter related to the file directory. The original Vue project will output the built files in the "dist/" directory, but the @Cloudflare/vite-plugin plugin makes the files output in the "dist/client" directory.
Could someone please tell me how to configure it so that I can use vite-ssg in a Vite + Vue 3 + Cloudflare Workers project?stare
Was this page helpful?