text: 
  
  export default {
    loading: "~/components/Loading.vue",
    /*
     ** Nuxt rendering mode
     ** See https://nuxtjs.org/api/configuration-mode
     */
    ssr: false,
    /*
     ** Nuxt target
     ** See https://nuxtjs.org/api/configuration-target
     */
    target: "server",
    /*
     ** Headers of the page
     ** See https://nuxtjs.org/api/configuration-head
     */
    head: {
      meta: [
        { charset: "utf-8" },
        { name: "viewport", content: "width=device-width, initial-scale=1" },
        {
          hid: "description",
          name: "description",
          content: "SOP Policy"
        }
      ],
      link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }]
    },
    router: {
      // linkExactActiveClass: 'active'
    },
    /*
     ** Global CSS
     */
    css: [
      "~/assets/scss/app.scss",
      "element-ui/lib/theme-chalk/index.css",
      "vue-wysiwyg/dist/vueWysiwyg.css"
    ],
    /*
     ** Plugins to load before mounting the App
     ** https://nuxtjs.org/guide/plugins
     */
    plugins: [
      '~/plugins/index.js',
      '~/plugins/content-placeholder.js',
      "~/plugins/simplebar.js",
      "~/plugins/vue-click-outside.js",
      // "~/plugins/vue-apexcharts.js",
      "~/plugins/vuelidate.js",
      "~/plugins/vue-slidebar.js",
      "~/plugins/vue-lightbox.js",
      // "~/plugins/vue-chartist.js",
      "~/plugins/vue-mask.js",
      // "~/plugins/vue-googlemap.js",
      "@/plugins/element-ui",
      "@/plugins/wysiwyg",
    ],
    /*
     ** Auto import components
     ** See https://nuxtjs.org/api/configuration-components
     */
    components: true,
    /*
     ** Nuxt.js dev-modules
     */
    buildModules: [
      '@nuxtjs/moment',
      '@nuxtjs/laravel-echo',
    ],
  
    // moment: {
    //   defaultLocale: 'en',
    //   locales: ['en', 'id']
    // },
  
    echo: {
      broadcaster: 'pusher',
      key: process.env.WS_KEY || 'pusher_key',
      wsHost: process.env.WS_HOST || '127.0.0.1',
      wsPort: process.env.WS_PORT || 6001,
      disableStats: true,
      encrypted: true,
      forceTLS: false
    },
  
    /*
     ** Nuxt.js modules
     */
    modules: [
      'nuxt-i18n',
      "bootstrap-vue/nuxt",
      "@nuxt/content",
      '@nuxtjs/axios',
      '@nuxtjs/auth-next',
    ],
  
    axios: {
      baseURL: process.env.API_URL || 'http://localhost:8000',
      credentials: true
    },
  
    i18n: {
      locales: [
        {
          code: 'en',
          name: 'English',
          file: 'en.js',
          flag: "/images/flags/us.jpg"
        }, {
          code: 'id',
          name: 'Bahasa Indonesia',
          file: 'id.js',
          flag: "/images/flags/id.png"
        }
      ],
      // seo: true,
      defaultLocale: 'en',
      vueI18nLoader: true,
      lazy: true,
      langDir: 'lang/',
      detectBrowserLanguage: {
        alwaysRedirect: true,
        fallbackLocale: 'en'
      },
      vueI18n: {
        fallbackLocale: 'en',
      }
    },
  
    auth: {
      redirect: {
        login: '/login',
        logout: '/',
        calback: '/login',
        home: '/'
      },
      strategies: {
        'laravelSanctum': {
          tokenType: false,
          tokenRequired: false,
          provider: 'laravel/sanctum',
          url: process.env.API_URL || 'http://localhost:8000',
          endpoints: {
            login: {
              url: '/api/login',
              method: 'post',
              propertyName: false
            },
            logout: {
              url: '/api/logout',
              method: 'post'
            },
            user: {
              url: '/api/me',
              method: 'get',
              propertyName: false
            }
          },
        },
        localStorage: false
      },
    },
  
    /*
     ** Content module configuration
     ** See https://content.nuxtjs.org/configuration
     */
    content: {},
    /*
     ** Build configuration
     ** See https://nuxtjs.org/api/configuration-build/
     */
    build: {
      transpile: [/^element-ui/],
    },
  
    env: {
    }
  };
  