From 2a430e458873300e07ee6e68ef08c3269e8248f0 Mon Sep 17 00:00:00 2001 From: paku Date: Wed, 14 Feb 2024 03:57:19 +0900 Subject: [PATCH] Add description about file-based routing --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 2a5e11b..2714f08 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # ningle-fbr (WIP) Plugin for [ningle](https://github.com/fukamachi/ningle) and [jingle](https://github.com/dnaeon/cl-jingle) to enable file-based routing +# What is file-based routing? + +File-based routing is a concept commonly used in modern web frameworks such as [Next.js](https://nextjs.org/). Instead of explicitly defining routes through configuration or code, the framework automatically sets up routes based on the file hierarchy of a particular directory (usually the "pages" or "routes" directory). + # Usage To use ningle-fbr, you must use [package-inferred-system](https://asdf.common-lisp.dev/asdf/The-package_002dinferred_002dsystem-extension.html).