Complete the code to start the Astro development server.
npm run [1]Running npm run dev starts the Astro development server, allowing live preview and hot reload.
Complete the code to create a production build in Astro.
npm run [1]npm run build compiles your Astro project into static files for production.
Fix the error in the command to preview the production build locally.
npm run [1]npm run preview serves the production build locally so you can test it before deployment.
Fill both blanks to complete the Astro config for build output directory and base path.
export default {
build: {
outDir: '[1]',
base: '[2]'
}
}The outDir is usually set to dist for build files, and base is / for root path.
Fill all three blanks to complete the npm scripts for dev, build, and preview in package.json.
"scripts": { "dev": "astro [1]", "build": "astro [2]", "preview": "astro [3]" }
These scripts run the Astro commands for development, building, and previewing respectively.
