Sno Station
Sno Station is your agents' workstation: open-source software that turns the AI agents you already run into one squad on your own machine. Two heads are better than one, and they get better with every
File system based route generator for ⚡️Vite
Translation pending
PluginsTypeScript · DockerfileGitHub @hannoeruSelf-installOwner unconfirmed
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗File system based routing for Vue 3 / React / Solid applications using Vite
Reads your pages directory and generates a list of routes that you pass to your router.
| Framework | Router | Module id |
|---|---|---|
| Vue 3 | vue-router | ~pages |
| React | react-router (v6+) | ~react-pages |
| Solid | @solidjs/router | ~solid-pages |
Vue users should consider vue-router's built-in file-based routing instead. It provides similar features with deeper vue-router integration.
vite-plugin-pages v1 requires Node.js 22.12 or later, Vite 6 or later, and an ESM project or ESM-compatible Vite configuration. If you upgrade from v0.33, read the v1 migration guide.
Start with an existing Vue, React, or Solid Vite project. Install the plugin:
npm install -D vite-plugin-pages
Add it to your Vite configuration:
import Pages from 'vite-plugin-pages'
export default {
plugins: [
Pages(),
],
}
Create src/pages/index.vue, src/pages/index.tsx, or
src/pages/index.jsx. Then follow Getting Started
to connect the generated routes to your framework router.
<route> blocks and JSX commentsPageResolver APITo generate a sitemap from the generated routes, use vite-plugin-pages-sitemap.
MIT License © 2021-PRESENT hannoeru