What's new Complete rewrite Nuekit was rebuilt from scratch with a clear focus: do one thing well. The new architecture serves files directly from your source directory during development. No temporary .dist/dev folder, no build step before you start working. Just create files and see them in the browser. We also switched from supporting both Bun and Node to Bun only. This decision enables the entire framework to stay lean while delivering better performance. HTML templating All HTML files now use the same .html extension. The document type declaration determines how Nue processes each file: <!-- Server-rendered page --> <!doctype html> <!-- Dynamic, client-rendered page --> <!doctype dhtml> <!-- Server-side component library --> <!html lib> <!-- Client-side library --> <!dhtml lib> <!-- Isomorphic library --> <!html+dhtml> When you omit the doctype, Nue detects the type automatically based on your markup. If your file has event handlers or imports, it becomes dynamic. If it's pure content structure, it renders server-side. This replaces the old .dhtml extension system with a more flexible approach that follows HTML standards. Zero dependencies Nue 2.0 has no external dependencies. Everything needed to build websites lives in that 1MB executable: Building without dependencies gives us full control over the entire stack. Each tool does one thing well and communicates seamlessly with the others. This is how you build frameworks the UNIX way: small, focused tools that work together perfectly. This gives us a lean developer experience without the typical framework bloat. New features SVG development - Process SVG files as templates with full HMR support. Embed your design system styles and fonts directly into standalone graphics. Mix HTML and SVG naturally using <html> tags that become <foreignObject> automatically. Sitemap generation - Enable in your config and Nue generates sitemap.xml automatically from your pages. Skip pages with draft or private flags. RSS feeds - ...
First seen: 2025-10-11 16:15
Last seen: 2025-10-11 16:15