- Notifications
You must be signed in to change notification settings - Fork0
SolidStart's filesystem router as standalone Vite plugin intended for use in single page application (SPA).
License
edivados/vite-plugin-solid-filesystem-router
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
SolidStart's filesystem router as standalone Vite plugin intended for use in single page application (SPA).
Implementation taken fromSolidStart andVinxi.
npm install @edivados/vite-plugin-solid-filesystem-router
import{defineConfig}from"vite";importsolidfrom"vite-plugin-solid";importsolidFilesystemRouterfrom"@edivados/vite-plugin-solid-filesystem-router";exportdefaultdefineConfig({plugins:[solid(),solidFilesystemRouter()]});
- Type: Object
- Default: {}
- Type: string
- Default: 'src/routes'
Directory where to look for route files.
- Type: string[]
- Default: ['jsx', 'tsx']
An array of file extensions to be picked up as routes. By defualt onlyjsx
andtsx
are picked up.
- Type: BaseFileSystemRouter
- Defualt: undefined
Custom filesystem router implementation.dir
andextensions
option will be ignored if present. For more information seeVinxi andSolidStart.
About
SolidStart's filesystem router as standalone Vite plugin intended for use in single page application (SPA).
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.