spry_fsrouter 0.0.2 spry_fsrouter: ^0.0.2 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 #
Clone the repository #
git clone https://github.com/odroe/spry
Enter the directory #
cd spry/packages/spry_fsrouter
Install dependencies #
dart pub get
Run the example #
dart example/main.dart
Open the browser #
Open the browser and go to the following URL:
http://localhost:3000
Rebuild the example #
dart run bin/spry_fsrouter.dart -p example/app