Abou
Abou
Explore posts from servers
NNuxt
Created by Abou on 11/13/2024 in #❓・help
How to change .icon of my website ?
Hey, i didn't figure out. For the moment, i'm at the developement step (i didn't buy yet now) And yes, my favicon is an .ico and not a png !
17 replies
NNuxt
Created by Abou on 11/13/2024 in #❓・help
How to change .icon of my website ?
@kapa.ai i add this // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ compatibilityDate: '2024-04-03', devtools: { enabled: false }, // activer pour le mode dev (voir le temps de load du ssr etc, voir opti) css: ['~/assets/scss/main.scss'], modules: ['@nuxt/fonts', '@nuxt/image', '@nuxtjs/device'], fonts: { families: [ { name: 'Poppins', provider: 'google', weights: ['400', '600', '700'], styles: ['normal'], subsets: ['latin'] } ] }, runtimeConfig: { public: { apiBaseUrl: process.env.PUBLIC_API_BASE_URL || 'http://localhost:8000' } }, vite: { css: { preprocessorOptions: { scss: { api: "modern-compiler", } } } }, app: { head: { link: [ { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' } ] } } }) inside my nuxt.config but still dosen't have my good favicon...
17 replies
NNuxt
Created by Abou on 11/13/2024 in #❓・help
How to change .icon of my website ?
No description
17 replies
NNuxt
Created by Abou on 11/12/2024 in #❓・help
How to use svg
Sorry for the late answer. Thanks for your help, i did use the svgo module for the moment !
22 replies
NNuxt
Created by Abou on 11/12/2024 in #❓・help
How to use svg
Hey, yeah i mean inline ^^
22 replies
NNuxt
Created by Abou on 11/12/2024 in #❓・help
How to use svg
@kapa.ai good, i've find. but why is my svg black and don't have his origin color with svgo ?
22 replies
NNuxt
Created by Abou on 11/12/2024 in #❓・help
How to use svg
@kapa.ai when i'm using svgo, i got this error inside my terminal : [Vue warn]: Component <Anonymous> is missing template or render function. at <Anonymous> at <Index onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > at <Anonymous key="/" vnode= { v_isVNode: true, v_skip: true, type: { name: 'index', setup: [Function (anonymous)], ssrRender: [Function: _sfc_ssrRender], scopeId: 'data-v-02281a80', __file: '/Users/ilies/IdeaProjects/whispr/pages/index.vue' }, props: { onVnodeUnmounted: [Function: onVnodeUnmounted], ref: RefImpl { you'll find my code in a .txt and this is my nuxt.config.ts : // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ compatibilityDate: '2024-04-03', devtools: { enabled: false }, // activer pour le mode dev (voir le temps de load du ssr etc, voir opti) css: ['~/assets/scss/main.scss'], modules: ['@nuxt/fonts', '@nuxt/image', '@nuxtjs/device', 'nuxt-svgo'], // add Poppins font fonts: { families: [ { name: 'Poppins', provider: 'google', weights: ['400', '600', '700'], styles: ['normal'], subsets: ['latin'] } ] }, runtimeConfig: { public: { apiBaseUrl: process.env.PUBLIC_API_BASE_URL || 'http://localhost:8000' } }, vite: { css: { preprocessorOptions: { scss: { api: "modern-compiler", } } } }, svgo: { autoImportPath: '~/assets/svg', } })
22 replies