Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

unplugin-convention-routes

liujiayii23MIT0.0.1-alpha.3TypeScript support: included

File system base router plugin for unplugin

vite, vue, vue-router, react, react-router, solid-js, @solidjs/router, file-system-based, routing

readme


unplugin-convention-routes

  • 🔥 基于文件系统的约定式路由解决方案。
  • 🔥 基于unpluginvite-plugin-pages进行了移植,能同时支持vitewebpackrsbuildfarm等构建框架,并同时支持reactvuesolid三大框架。
  • ⚠️ 尚在开发中,还不能正常使用,请勿使用。个人仅测试了vue+vitevue+rsbuildreact+vitereact+rsbuild

友情链接

📦 安装

pnpm i unplugin-convention-routes

🔨 示例