- Set default weather (Clear 25°C, Beijing) on mount before API call - Don't overwrite weather on API failure to keep default visible - Use Beijing coordinates as default fallback location
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.