This PR reworks asset handling in our vite plugin. Importing assets in js is now supported.
15 lines
261 B
TypeScript
15 lines
261 B
TypeScript
import type { PageProps } from "@fresh/core";
|
|
|
|
export default function App(props: PageProps) {
|
|
return (
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
</head>
|
|
<body>
|
|
<props.Component />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|