From 9928a9b125e9ff3d1698979c1e27a6edfab0c411 Mon Sep 17 00:00:00 2001 From: Ayo Date: Thu, 4 Jun 2026 09:43:43 +0200 Subject: [PATCH] chore: udpate readme --- README.md | 47 ++++++++++++++--------------------------------- 1 file changed, 14 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index f25fa55..efcac10 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,10 @@ I thought: We are currently in a focused rewrite. All parts are subject to breaking changes in minor releases. - [x] file-based API routing via fastify as server framework -- [] file-based HTML pages routing & templating via Eta -- [] auto-registry of custom elements -- [] SSR custom elements -- [] SSG +- [ ] file-based HTML pages routing & templating via Eta +- [ ] auto-registry of custom elements +- [ ] SSR custom elements +- [ ] SSG ## Try it today @@ -43,15 +43,7 @@ Run the following to generate a McFly starter project. npm create mcfly@latest ``` -## How it works (for the nerds) - -It is primarily a runtime middleware for [Nitro](https://nitro.build). Every time a page is requested, the McFly middleware intercepts and assembles the view for the requestor. McFly does this with the assets it knows about which are mostly: pages, components, public assets. Additionally, Nitro is also capable of generating static assets on build time. - -These patterns are commonly referred to as Server-Side Rendering and Static Site Generation (SSR & SSG). - -The idea is to have a plugin system which allows for the core functionality to only "lean" on web platform features. Anything not yet a standard is implemented as a plugin which will be easily "swapped" away when the platform catches up. - -## Features +## Target Features ✅ Use vanilla custom elements (or sugar-coated web components)
✅ Write server-powered .html pages
@@ -61,19 +53,7 @@ The idea is to have a plugin system which allows for the core functionality to o ## Special directories -**1. `./src/pages/`** - -- file-based routing for `.html` files -- directly use custom elements & static fragments (no imports or registry maintenance needed) -- use `