Files
sweet/tests/fixture_render/routes/head_style.tsx
T

20 lines
342 B
TypeScript

import { RouteConfig } from "$fresh/src/server/types.ts";
export const config: RouteConfig = {
skipAppWrapper: true,
skipInheritedLayouts: true,
};
export default function App() {
return (
<html>
<head>
<style>{`body { color: red }`}</style>
</head>
<body>
hello
</body>
</html>
);
}