BREAKING: disable runtime JS by default (#55)

This commit is contained in:
Luca Casonato
2021-09-25 11:05:49 +02:00
committed by GitHub
parent f44f1950dc
commit 0fbc9e816a
7 changed files with 24 additions and 14 deletions
+3 -1
View File
@@ -2,7 +2,7 @@
import { RoundedButton } from "../components/Button.tsx";
import { IconMinus, IconPlus } from "../components/Icons.tsx";
import { h, IS_BROWSER, tw, useState } from "../deps.ts";
import { h, IS_BROWSER, PageConfig, tw, useState } from "../deps.ts";
export default function Home() {
return (
@@ -43,3 +43,5 @@ function Counter() {
</div>
);
}
export const config: PageConfig = { runtimeJS: true };