# vite-plugin-pages > 基于文件系统的路由,用于使用 [Vite](https://github.com/vitejs/vite) 的 Vue 3 / React / Solid 应用程序
> 从 v0.19.0 开始,我们只支持 React-router v6,如果您使用的是 React-router v5,请使用 v0.18.2。
function App() {
return (
加载中 ...
}>
{useRoutes(routes)}
)
}
const app = createRoot(document.getElementById('root')!)
app.render()