spry_fsrouter 1.1.1 copy "spry_fsrouter: ^1.1.1" to clipboard
spry_fsrouter: ^1.1.1 copied to clipboard

Define Spry router in the way of filesystem router layout, it builds on top of Spry router, supports group route mount, nested route, handler mount, middleware, etc.

example/README.md

Example #

Clone the repository #

git clone https://github.com/odroe/spry
copied to clipboard

Enter the directory #

cd spry/packages/spry_fsrouter
copied to clipboard

Install dependencies #

dart pub get
copied to clipboard

Run the example #

dart example/main.dart
copied to clipboard

Open the browser #

Open the browser and go to the following URL:

http://localhost:3000
copied to clipboard

Rebuild the example #

dart run bin/spry_fsrouter.dart -p example/app
copied to clipboard
0
likes
130
points
64
downloads

Publisher

verified publisherodroe.com

Weekly Downloads

2024.09.26 - 2025.04.10

Define Spry router in the way of filesystem router layout, it builds on top of Spry router, supports group route mount, nested route, handler mount, middleware, etc.

Documentation

API reference

License

MIT (license)

Dependencies

args, code_builder, dart_style, freezed_annotation, http_methods, json_annotation, path, spry_router, yaml

More

Packages that depend on spry_fsrouter