dir2route
v1.0.3
Published
A simple directory based route generator
Downloads
2
Readme
dir2route
Simple directory based route generator
Usage
- Create public folder in root of the project for the routes to live in or define your route folder in environment variables using: DIR_2_ROUTE_ROOT
- New routes defined by creating folders that starts with $ sign
- App expects an index.html file for every route directory
- App will automatically generate routes object based on the folder structure