text: import fs from "fs";
  
  export default {
    // Global page headers: https://go.nuxtjs.dev/config-head
    head: {
      titleTemplate: "%s - scheduler-simulator",
      title: "scheduler-simulator",
      htmlAttrs: {
        lang: "en",
      },
      meta: [
        { charset: "utf-8" },
        { name: "viewport", content: "width=device-width, initial-scale=1" },
        { hid: "description", name: "description", content: "" },
      ],
      link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }],
    },
  
    // Global CSS: https://go.nuxtjs.dev/config-css
    css: [],
  
    // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
    plugins: [],
  
    // Auto import components: https://go.nuxtjs.dev/config-components
    components: true,
  
    // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
    buildModules: [
      // https://go.nuxtjs.dev/typescript
      "@nuxt/typescript-build",
      // https://go.nuxtjs.dev/vuetify
      "@nuxtjs/vuetify",
      // for nuxtjs/composition-api
      "@nuxtjs/composition-api/module",
    ],
  
    // Modules: https://go.nuxtjs.dev/config-modules
    modules: [
      // https://go.nuxtjs.dev/axios
      "@nuxtjs/axios",
    ],
  
    // Axios module configuration: https://go.nuxtjs.dev/config-axios
    axios: {},
  
    // Vuetify module configuration: https://go.nuxtjs.dev/config-vuetify
    vuetify: {
      customVariables: ["~/assets/variables.scss"],
      theme: {
        themes: {
          light: {
            primary: "#326ce5",
            background: "#f5f5f5",
          },
        },
      },
    },
  
    // Build Configuration: https://go.nuxtjs.dev/config-build
    env: {
      BASE_URL: process.env.BASE_URL || "http://localhost:1212",
      POD_TEMPLATE: fs.readFileSync(
        "./components/lib/templates/pod.yaml",
        "utf8"
      ),
      NODE_TEMPLATE: fs.readFileSync(
        "./components/lib/templates/node.yaml",
        "utf8"
      ),
      PV_TEMPLATE: fs.readFileSync("./components/lib/templates/pv.yaml", "utf8"),
      PVC_TEMPLATE: fs.readFileSync(
        "./components/lib/templates/pvc.yaml",
        "utf8"
      ),
      SC_TEMPLATE: fs.readFileSync(
        "./components/lib/templates/storageclass.yaml",
        "utf8"
      ),
    },
  };
  