mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
Update spa example to use meta tags
This commit is contained in:
parent
39f431efdf
commit
72cb339d10
@ -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'],
|
||||
|
BIN
examples/spa/static/favicon.ico
Normal file
BIN
examples/spa/static/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Loading…
Reference in New Issue
Block a user