feat: allow layout and _app overrides (#1611)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { RouteConfig } from "$fresh/server.ts";
|
||||
|
||||
export const config: RouteConfig = {
|
||||
appTemplate: false,
|
||||
rootLayout: true,
|
||||
};
|
||||
|
||||
export default function OverridePage() {
|
||||
return (
|
||||
<p class="no-app-no-layouts">
|
||||
no <code>_app.tsx</code> template and no layouts
|
||||
</p>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user