add favicon
parent
41590e5f56
commit
94b7fc0d79
|
@ -2,6 +2,7 @@ import vueJsx from '@vitejs/plugin-vue-jsx';
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
const baseUrl = process.env.NODE_ENV === 'production' ? '/primevue-nuxt/' : '/';
|
const baseUrl = process.env.NODE_ENV === 'production' ? '/primevue-nuxt/' : '/';
|
||||||
|
|
||||||
// https://v3.nuxtjs.org/api/configuration/nuxt.config
|
// https://v3.nuxtjs.org/api/configuration/nuxt.config
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
ssr: false,
|
ssr: false,
|
||||||
|
@ -19,8 +20,9 @@ export default defineNuxtConfig({
|
||||||
{
|
{
|
||||||
id: 'theme-link',
|
id: 'theme-link',
|
||||||
rel: 'stylesheet',
|
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' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue