add favicon

pull/3420/head
Tuğçe Küçükoğlu 2022-12-09 23:45:50 +03:00
parent 41590e5f56
commit 94b7fc0d79
1 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,7 @@ import vueJsx from '@vitejs/plugin-vue-jsx';
const path = require('path');
const baseUrl = process.env.NODE_ENV === 'production' ? '/primevue-nuxt/' : '/';
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
ssr: false,
@ -19,8 +20,9 @@ export default defineNuxtConfig({
{
id: 'theme-link',
rel: 'stylesheet',
href: baseUrl + `themes/lara-light-blue/theme.css`
}
href: baseUrl + 'themes/lara-light-blue/theme.css'
},
{ rel: 'icon', type: 'image/x-icon', href: baseUrl + 'favicon.ico' }
]
}
},