import { defineConfig } from "umi";

export default defineConfig({
  routes: [
    {
      path: "/",
      component: "base",
      routes: [
        { path: "/docs", component: "docs" },
        { path: "/login", component: "login" },
      ],
    },
  ],
  npmClient: "yarn",
  links: [
    {
      href: "https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap",
      rel: "stylesheet",
    },
    {
      href: "https://fonts.googleapis.com/icon?family=Material+Icons",
      rel: "stylesheet",
    },
  ],
  metas: [{ name: "viewport", content: "initial-scale=1, width=device-width" }],
});
