Vue.js / Nuxt.js

Nuxt Deployment & CI/CD

Build process, Vercel, Netlify, Node.js server, static hosting, environment variables, CI/CD pipelines, GitHub Actions, automated testing

22 mülakat soruları·
Mid-Level
1

What is Nitro in the context of Nuxt 3?

Cevap

Nitro is the server engine of Nuxt 3 that enables generating optimized builds for different platforms. It supports SSR, SSG, and hybrid rendering with route rules. Nitro compiles server code into a single lightweight and optimized bundle, compatible with Node.js, Deno, Cloudflare Workers, and other serverless runtimes.

2

Which command to use to generate a complete static version of a Nuxt application?

Cevap

The nuxi generate command prerenders all application routes and creates static HTML files. This approach is ideal for sites with mostly static content that can be hosted on a CDN. The result is deployable on services like Netlify, Vercel, or GitHub Pages without a Node.js server.

3

What is the main difference between nuxi build and nuxi generate?

Cevap

The nuxi build command creates a Node.js server capable of on-demand server-side rendering, while nuxi generate prerenders all pages as static HTML at build time. The server build enables dynamic content and API routes, whereas generate produces static files optimized for CDNs but without dynamic rendering capabilities.

4

Which rendering mode to favor for a blog with daily updated content?

5

How does Vercel automatically detect that a project is a Nuxt application?

+19 mülakat soruları

Bir sonraki mülakatın için Vue.js / Nuxt.js'de uzmanlaş

Tüm sorulara, flashcards'a, teknik testlere, code review alıştırmalarına ve mülakat simülatörlerine eriş.

Ücretsiz başla