How to use the vuefront/seo.default function in vuefront

To help you get started, we’ve selected a few vuefront examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github vuefront / vuefront-nuxt / src / index.js View on Github external
const path = require('path')
let seoConfig = require('vuefront/seo').default
const _ = require('lodash')
const ApolloClient = require('apollo-boost').default
require('isomorphic-fetch')
const ampify = require('./plugins/ampify')

export default async function vuefrontModule(_moduleOptions) {
  const isNuxtVersion2 = this.options.build.transpile
  const moduleOptions = { ...this.options.vuefront, ..._moduleOptions }

  const theme = process.env.VUEFRONT_THEME || 'default'

  const defaultPort =
    process.env.API_PORT ||
    process.env.PORT ||
    process.env.npm_package_config_nuxt_port ||
    3000