change default name from "nuxt-app"
Hi, where do i change the default name from "nuxt-app" to something else? I tried to do it in nuxt.config.ts using
7 Replies
Hi @WiFi Plug. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
To change the default application ID from
-
"nuxt-app"
to something else, you should use the appId
property in your nuxt.config.ts
file, not the app.head.title
property. The app.head.title
only changes the default page title, not the internal application ID.
Here’s how you can set a custom app ID:
- appId
is specifically for setting the unique ID of your Nuxt application and defaults to "nuxt-app"
if not set.-
app.head.title
is for the default HTML <title>
tag, which is what appears in the browser tab, not the internal app ID.
For more details, see the Nuxt Configuration: appId documentation.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@679734274840330384> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
Hey. Best to do it in app.vue. Use useHead() or useSeoMeta()
ah okay thank you
Wait are you talking about title or app I’d?
app id
Ahh sorry the above is correct. ✅