The Full-stack Framework in Deno.
fastTransform
function using esbuild to transpile remote non-jsx modules instead of swc--no-check
flag in install script@import
is not workingresolveImport
method for Plugin SystemCache-Control
to public, max-age=0, must-revalidate
Fix aleph_pkg_uri
resolve to avoid SSG error/missing-data when Aleph.js' version is different between import maps and cli.
Upgrade vercel-aleph
version to 0.7.0
vercel.json
in init
commandupgrade
commanduseDeno
rendering unstableFix init
command
Plugin
systemssr
options for pages
import type { SSROptions, Router } = 'aleph/types.ts'
export const ssr: SSROptions = {
props: async (router: Router) => ({ ... }),
paths: async () => [ ... ], // static paths for dynamic route
}
export default function Index(ssrProps) {
return (
<div>ssr props: {ssrProps}</div>
)
}
import React from "https://esm.sh/react";
export default function App() {
return (
<>
<link rel="stylesheet" href="../style/app.module.css" />
<h1 className="$title $bold">Hi :)</h1>
<p className="$intro">Welcome!</p>
</>
);
}
useDeno
was updated)aleph.config.ts
(fix #323).css
files in ./public
folder (fix #304)minDenoVersion
to 1.10.1
Fallback
component for dynamic hockey
option for useDeno
withDeno
hoc · breaking
srcDir
configureduseDeno
(fix #301)Huge thanks to @noverby @kamchy @hyakt