In the nuxt docs for Cloudflare deployment (https://nuxt.com/deploy/cloudflare), it mentions two options of nuxt build or nuxt generate. It says:
"To leverage server-side rendering on the edge, set the build command to: nuxt build vs To statically generate your website, set the build command to: nuxt generate"
What are the pros and cons to each approach here? Is it as simple as SSR vs SPA? Will it matter if for example I choose nuxt build for SSR but have areas in my app that are [ClientOnly] ?
Blog
資訊
- 節目
- 頻率每週更新
- 發佈時間2024年6月11日 上午9:13 [UTC]
- 長度2 分鐘
- 季數1
- 集數3
- 年齡分級兒少適宜