brunomgmateus
brunomgmateus
NNuxt
Created by NepaliJesus on 12/25/2024 in #❓・help
How to not have nested layout/pages refresh when the main layout changes
If what you want is just cosmetic change, my advice is to use css media queries for responsive adjustments, or something like TailwindCSS. It's very good nowadays, and you can create responsive styling in a very controllable and effective way.
15 replies
NNuxt
Created by NepaliJesus on 12/25/2024 in #❓・help
How to not have nested layout/pages refresh when the main layout changes
As far as I know, a layout change will always trigger a refresh, because the layout is very close to the top of the chain, and so any change will trigger a refresh on all children components. Usually, you would want that, to ensure that everything is recalculated according to the new layout.
15 replies
NNuxt
Created by NepaliJesus on 12/25/2024 in #❓・help
How to not have nested layout/pages refresh when the main layout changes
Can I ask why changing the layout completely for mobile? Why not just responsive styling? Is this for a specific mobile app or PWA?
15 replies
NNuxt
Created by artemis on 12/26/2024 in #❓・help
500 error code just after upgrading to 3.15v
8 replies
NNuxt
Created by artemis on 12/26/2024 in #❓・help
500 error code just after upgrading to 3.15v
"overrides": { "vite": "5.4.11" }
8 replies
NNuxt
Created by artemis on 12/26/2024 in #❓・help
500 error code just after upgrading to 3.15v
Could be related to https://discord.com/channels/473401852243869706/1321793852901818368 Try to override to Vite 5 on package.json, as a temporary measure.
8 replies
NNuxt
Created by Michal Winter on 12/26/2024 in #❓・help
SyntaxError: Unexpected token ';'
The override should just be a temporary fix, while the bug is solved upstream.
23 replies
NNuxt
Created by Michal Winter on 12/26/2024 in #❓・help
SyntaxError: Unexpected token ';'
(from what I've understood from skimming through the issue, looks like its a NuxtUi bug on transitions of certain components, and currently affecting Vite 6).
23 replies
NNuxt
Created by Michal Winter on 12/26/2024 in #❓・help
SyntaxError: Unexpected token ';'
to your package.json. This will force using vite 5 instead of vite 6.
23 replies
NNuxt
Created by Michal Winter on 12/26/2024 in #❓・help
SyntaxError: Unexpected token ';'
Just add something like:
"overrides": {
"vite": "5.4.11"
}
"overrides": {
"vite": "5.4.11"
}
23 replies
NNuxt
Created by Michal Winter on 12/26/2024 in #❓・help
SyntaxError: Unexpected token ';'
Yup, I've overriden Vite version on package.json, and works so far.
23 replies
NNuxt
Created by Michal Winter on 12/26/2024 in #❓・help
SyntaxError: Unexpected token ';'
Thanks, just got bitten by this when using NuxtUi and the latest Nuxt, and was getting crazy thinking what I've done wrong.
23 replies
NNuxt
Created by Bobakanoosh on 9/21/2024 in #❓・help
i18n language auto detection not working
Are you using "prefix_except_default" strategy? There's currently a pending issue that may be affecting you. https://github.com/nuxt-modules/i18n/issues/3039
5 replies
NNuxt
Created by AngeloK on 9/19/2024 in #❓・help
@nuxt/fonts adobe
In your case, may be 'Ador-Hairline' instead of 'ador-hairline'?
8 replies
NNuxt
Created by AngeloK on 9/19/2024 in #❓・help
@nuxt/fonts adobe
You may need to type the font name with uppercase, as in the adobe fonts name. Like this:
fonts: {
families: [
{
name: 'Mulish',
display: "swap",
weights: [400, 500, 600, 700, 800, 900],
provider: 'google'
},
{
name: 'IvyPresto-Display',
weights: [100, 200, 300, 400, 500, 600, 700],
provider: 'adobe'
}
],

adobe: {
id: ['xxx123']
},
}
fonts: {
families: [
{
name: 'Mulish',
display: "swap",
weights: [400, 500, 600, 700, 800, 900],
provider: 'google'
},
{
name: 'IvyPresto-Display',
weights: [100, 200, 300, 400, 500, 600, 700],
provider: 'adobe'
}
],

adobe: {
id: ['xxx123']
},
}
8 replies
NNuxt
Created by brunomgmateus on 9/18/2024 in #❓・help
Is it possible to exclude a component from a cached route?
Thank you. I assumed that, but I'm also guessing that, being a fairly used scenario, there would be some way of bailing some components from cache. Thanks anyway (happy that it wasn't a dumb question 🙂
4 replies
NNuxt
Created by brunomgmateus on 9/18/2024 in #❓・help
Is it possible to exclude a component from a cached route?
@danielroe Sorry for pulling you in, but would you think that: a. this is a bug of the module? b. this could be an enhancement for nuxt core? c. I'm just a d*mbass and it should be done in a different fashion?
4 replies
NNuxt
Created by DeVoresyah on 8/2/2024 in #❓・help
Build Nuxt 3 as CommonJS
You just need to disable the "experimental.writeEarlyHints" in nuxt config. SHould work well
11 replies
NNuxt
Created by Mike on 5/15/2024 in #❓・help
How to host a full stack Nuxt3 app on cPanel
Sorry for the late reply. You can host it, but there's a couple of pre-requisites. This github discussion has more details. https://github.com/nuxt/nuxt/discussions/25910#discussioncomment-10396305
5 replies
NNuxt
Created by DeVoresyah on 8/2/2024 in #❓・help
Build Nuxt 3 as CommonJS
This was true for the latest Nuxt version.
11 replies