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
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
Could someone please tell me how to configure it so that I can use vite-ssg in a Vite + Vue 3 + Cloudflare Workers 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.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?


Wrangler
Workers