# vue3 vite multi page template **Repository Path**: TheFreeOne/vue3-vite-multi-page-template ## Basic Information - **Project Name**: vue3 vite multi page template - **Description**: 个人使用 vue3 vite 多页应用 函数式声明组件 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-10-17 - **Last Updated**: 2025-06-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue3 vite 多页模板 vue3 vite 多页模板,index使用browser history 其他页面使用has ### 打包之后的入口 index的入口是build/index.html 这是因为设置了 rollupOptions.input中main的入口是index 却root = './src/pages',如果想该页面与其他页面一样,需要修改getEntryPath的方法 #### 动画取样 [ https://animista.net/ ](https://animista.net/) [https://css-loaders.com/](https://css-loaders.com/) https://segmentfault.com/a/1190000023471689 - [ ] vue-puzzle-vcode 纯前端验证 ##### 部署 - 路由模式 ``` location / { alias /build/; try_files $uri $uri/ /index.html; index index.html; } ``` - hash ``` location / { alias /build/; } ```