feat: add config option to disable runtime js (#36)

The config option can be toggled per page:

```js
export const config: PageConfig = { runtimeJS: false };
```
This commit is contained in:
Luca Casonato
2021-06-13 00:01:59 +02:00
committed by GitHub
parent ae4603c731
commit 65d164d073
9 changed files with 66 additions and 20 deletions
+7
View File
@@ -0,0 +1,7 @@
import { h, PageConfig } from "../deps.ts";
export default function StaticPage() {
return <p>This is a static page.</p>;
}
export const config: PageConfig = { runtimeJS: false };