spry_fsrouter 1.1.1
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