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:
@@ -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 };
|
||||
Reference in New Issue
Block a user