Commit 2780c69a authored by Pooya Parsa's avatar Pooya Parsa

Update Icons

parent e89147ef
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: [
{ hid: 'description', name: 'description', content: 'HackerNews clone built with Nuxt.js' }, {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', content: 'https://cloud.githubusercontent.com/assets/904724/26784102/0d2f8000-49fc-11e7-8091-2b66901c73ee.png' }, property: 'og:image',
{ property: 'twitter:card', content: 'summary_large_image' }, content: 'https://cloud.githubusercontent.com/assets/904724/26784102/0d2f8000-49fc-11e7-8091-2b66901c73ee.png'
{ property: 'twitter:site', content: '@nuxt_js' }, },
{property: 'twitter:card', content: 'summary_large_image'},
{property: 'twitter:site', content: '@nuxt_js'},
] ]
}, },
loading: { loading: {
color: '#66e8ad' color: '#66e8ad'
}, },
manifest: { manifest: {
name: 'Nuxt Hacker News',
description: 'HackerNews clone built with Nuxt.js',
theme_color: '#41b883', theme_color: '#41b883',
defaultIcon: { icons: [
sizes: '16x16' {
} src: '/favicon.ico',
sizes: '16x16',
type: 'image/x-icon'
},
{
src: '/logo_192.png',
sizes: '192x192',
type: 'image/png'
},
{
src: '/logo_512.png',
sizes: '512x512',
type: 'image/png'
}
]
}, },
modules: [ modules: [
'@nuxtjs/pwa', '@nuxtjs/pwa',
......
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