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

format file

parent 2780c69a
module.exports = { module.exports = {
build: { build: {
extractCSS: true, extractCSS: true,
extend (config, {isClient}) { extend(config, { isClient }) {
config.resolve.alias['create-api'] = `./create-api-${isClient ? 'client' : 'server'}.js` config.resolve.alias['create-api'] = `./create-api-${isClient ? 'client' : 'server'}.js`
} }
}, },
head: { head: {
titleTemplate: 'Nuxt HN | %s', titleTemplate: 'Nuxt HN | %s',
meta: [ meta: [
{property: 'og:type', content: 'website'}, { property: 'og:type', content: 'website' },
{property: 'og:title', content: 'Nuxt.js HackerNews'}, { property: 'og:title', content: 'Nuxt.js HackerNews' },
{property: 'og:description', content: 'HackerNews clone built with Nuxt.js'}, { property: 'og:description', content: 'HackerNews clone built with Nuxt.js' },
{ {
property: 'og:image', property: 'og:image',
content: 'https://cloud.githubusercontent.com/assets/904724/26784102/0d2f8000-49fc-11e7-8091-2b66901c73ee.png' content: 'https://cloud.githubusercontent.com/assets/904724/26784102/0d2f8000-49fc-11e7-8091-2b66901c73ee.png'
}, },
{property: 'twitter:card', content: 'summary_large_image'}, { property: 'twitter:card', content: 'summary_large_image' },
{property: 'twitter:site', content: '@nuxt_js'}, { property: 'twitter:site', content: '@nuxt_js' },
] ]
}, },
loading: { 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