Sno Station
Sno Station은 AI 에이전트를 하나의 팀으로 묶는 오픈소스 워크스테이션으로, 로컬 머신에서 에이전트 협업을 가능하게 함
파일 시스템 기반으로 라우트를 생성해 ⚡️Vite에 적용합니다
File system based route generator for ⚡️Vite
플러그인TypeScript · DockerfileGitHub @hannoeru직접 설치운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
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