diff --git a/examples/spa/nuxt.config.js b/examples/spa/nuxt.config.js index 0c0d888faf..e69c605f2a 100644 --- a/examples/spa/nuxt.config.js +++ b/examples/spa/nuxt.config.js @@ -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'], diff --git a/examples/spa/static/favicon.ico b/examples/spa/static/favicon.ico new file mode 100644 index 0000000000..382fecbbf9 Binary files /dev/null and b/examples/spa/static/favicon.ico differ