From 94b7fc0d79c4e812c5c7dc4b52967cd63b09a08a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 9 Dec 2022 23:45:50 +0300 Subject: [PATCH] add favicon --- nuxt.config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nuxt.config.js b/nuxt.config.js index d2635a944..6d5c7630a 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -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' } ] } },