How to use vuefront - 6 common examples

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 / seo.js View on Github external
component: 'AccountLogin'
  },
  '/account/password': {
    generate: false,
    component: 'AccountPassword'
  },
  '/account/register': {
    package: 'vuefront/lib',
    component: 'AccountRegister'
  },
  '/account/wishlist': {
    generate: false,
    component: 'Wishlist'
  },
  '/blog/category/:id': {
    seo: seo.CategoryBlogSeo,
    component: 'BlogCategory'
  },
  '/blog/post/:id': {
    component: 'BlogPost',
    seo: seo.PostSeo
  },
  '/contact': { component: 'Contact' },
  '/page/:id': {
    component: 'Page',
    seo: seo.PageSeo
  },
  '/search': { component: 'Search' },
  '/search/:slug': {
    component: 'Search'
  },
  '/store/cart': {
github vuefront / vuefront / seo.js View on Github external
seo: seo.PageSeo
  },
  '/search': { component: 'Search' },
  '/search/:slug': {
    component: 'Search'
  },
  '/store/cart': {
    generate: false,
    component: 'Cart'
  },
  '/store/checkout': {
    generate: false,
    component: 'Checkout'
  },
  '/store/category/:id': {
    seo: seo.CategorySeo,
    component: 'Category'
  },
  '/store/compare': {
    generate: false,
    component: 'Compare'
  },
  '/store/product/:id': {
    component: 'Product',
    seo: seo.ProductSeo
  },
  '/store/special': {
    component: 'Special'
  }
}
github vuefront / vuefront / seo.js View on Github external
'/account/wishlist': {
    generate: false,
    component: 'Wishlist'
  },
  '/blog/category/:id': {
    seo: seo.CategoryBlogSeo,
    component: 'BlogCategory'
  },
  '/blog/post/:id': {
    component: 'BlogPost',
    seo: seo.PostSeo
  },
  '/contact': { component: 'Contact' },
  '/page/:id': {
    component: 'Page',
    seo: seo.PageSeo
  },
  '/search': { component: 'Search' },
  '/search/:slug': {
    component: 'Search'
  },
  '/store/cart': {
    generate: false,
    component: 'Cart'
  },
  '/store/checkout': {
    generate: false,
    component: 'Checkout'
  },
  '/store/category/:id': {
    seo: seo.CategorySeo,
    component: 'Category'
github vuefront / vuefront / seo.js View on Github external
},
  '/account/register': {
    package: 'vuefront/lib',
    component: 'AccountRegister'
  },
  '/account/wishlist': {
    generate: false,
    component: 'Wishlist'
  },
  '/blog/category/:id': {
    seo: seo.CategoryBlogSeo,
    component: 'BlogCategory'
  },
  '/blog/post/:id': {
    component: 'BlogPost',
    seo: seo.PostSeo
  },
  '/contact': { component: 'Contact' },
  '/page/:id': {
    component: 'Page',
    seo: seo.PageSeo
  },
  '/search': { component: 'Search' },
  '/search/:slug': {
    component: 'Search'
  },
  '/store/cart': {
    generate: false,
    component: 'Cart'
  },
  '/store/checkout': {
    generate: false,
github vuefront / vuefront / seo.js View on Github external
},
  '/store/checkout': {
    generate: false,
    component: 'Checkout'
  },
  '/store/category/:id': {
    seo: seo.CategorySeo,
    component: 'Category'
  },
  '/store/compare': {
    generate: false,
    component: 'Compare'
  },
  '/store/product/:id': {
    component: 'Product',
    seo: seo.ProductSeo
  },
  '/store/special': {
    component: 'Special'
  }
}
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