create-vanjs
Version:
🍦 Quick tool for scaffolding your first VanJS project
12 lines (9 loc) • 335 B
JSX
import { Router } from "@vanjs/router";
import { Link, Meta, Title } from "@vanjs/meta";
import "./routes";
export const App = () => {
Title("VanJS + Vite App");
Meta({ name: "description", content: "Simple SSR App with VanJS" });
Link({ rel: "icon", href: "./vanjs-cone.svg" });
return <Router id="main" class="main" />;
};