Update spa example to use meta tags

This commit is contained in:
Sebastien Chopin 2017-08-21 11:38:30 +02:00
parent 39f431efdf
commit 72cb339d10
2 changed files with 14 additions and 0 deletions

View File

@ -5,6 +5,20 @@ module.exports = {
*/
mode: 'spa',
/*
** Headers of the page (works with SPA!)
*/
head: {
title: 'SPA mode with Nuxt.js',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: '{{ description }}' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
},
/*
** Add css for appear transition
*/
css: ['~/assets/main.css'],

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB