# xzd--weather **Repository Path**: darena/xzd--weather ## Basic Information - **Project Name**: xzd--weather - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-05-22 - **Last Updated**: 2024-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # xzd--weather This template should help get you started developing with Vue 3 in Vite. ## 设计思路 1.主要交互通过两个组件的路由切换,主页组件:WeatherComponent.vue,详情页组件:WeatherInfoComponent.vue,路由出口:App.vue 2.每个页面又分为top,body,footer三部分,top,body,footer三个组件中预留slot槽,当路由切换到WeatherInfoComponent.vue组件时通过具名插槽向top,body,footer三个组件插入差异化内容 3.通过pinia维护state状态,控制组件内容的显示和关闭 4.图表绘制使用全局注册ECharts的方式 ## Recommended IDE Setup [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur). ## Customize configuration See [Vite Configuration Reference](https://vitejs.dev/config/). ## Project Setup ```sh pnpm install ``` ### Compile and Hot-Reload for Development ```sh pnpm dev ``` ### Compile and Minify for Production ```sh pnpm build ```