Commit 11cc2582 authored by Sebastien Chopin's avatar Sebastien Chopin

format file

parent 2780c69a
module.exports = {
build: {
extractCSS: true,
extend (config, {isClient}) {
extend(config, { isClient }) {
config.resolve.alias['create-api'] = `./create-api-${isClient ? 'client' : 'server'}.js`
}
},
head: {
titleTemplate: 'Nuxt HN | %s',
meta: [
{property: 'og:type', content: 'website'},
{property: 'og:title', content: 'Nuxt.js HackerNews'},
{property: 'og:description', content: 'HackerNews clone built with Nuxt.js'},
{ property: 'og:type', content: 'website' },
{ property: 'og:title', content: 'Nuxt.js HackerNews' },
{ property: 'og:description', content: 'HackerNews clone built with Nuxt.js' },
{
property: 'og:image',
content: 'https://cloud.githubusercontent.com/assets/904724/26784102/0d2f8000-49fc-11e7-8091-2b66901c73ee.png'
},
{property: 'twitter:card', content: 'summary_large_image'},
{property: 'twitter:site', content: '@nuxt_js'},
{ property: 'twitter:card', content: 'summary_large_image' },
{ property: 'twitter:site', content: '@nuxt_js' },
]
},
loading: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment