brunomgmateus
brunomgmateus
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
NNuxt
Created by DeVoresyah on 8/2/2024 in #❓・help
Build Nuxt 3 as CommonJS
Sorry for the late reply, but just to let you know that I've come accross an issue where, if you're using the setting "experimental.writeEarlyHints" in nuxt.config.ts, it breaks production version in cPanel, Plesk (and other serverrs that use either nginX or Phusion Passenger).
11 replies
NNuxt
Created by DeVoresyah on 8/2/2024 in #❓・help
Build Nuxt 3 as CommonJS
and so far has been working. But on Nuxt 3.11
11 replies
NNuxt
Created by DeVoresyah on 8/2/2024 in #❓・help
Build Nuxt 3 as CommonJS
I've also tried just loading:
// appstart.cjs
import('./.output/server/index.mjs')
// appstart.cjs
import('./.output/server/index.mjs')
11 replies
NNuxt
Created by DeVoresyah on 8/2/2024 in #❓・help
Build Nuxt 3 as CommonJS
App used to work fine until nuxt 3.11.x. Then somehow something changed, not quite sure what. I've usually had it working with a loading script, appstart.cjs.
async function loadApp() {
await import("./.output/server/index.mjs")
}

loadApp()
async function loadApp() {
await import("./.output/server/index.mjs")
}

loadApp()
This usually would load, but now it doesn't...
11 replies
NNuxt
Created by DeVoresyah on 8/2/2024 in #❓・help
Build Nuxt 3 as CommonJS
Would love to know more about this, having the same issue,
11 replies
NNuxt
Created by QRST on 7/25/2024 in #❓・help
Quick Question - Supabase Client Fetch vs API route fetch
It should be the same result AFAIK, but to me using server api brings a better workflow, as it becomes easier and cleaner to handle as the project increases in size. Not only fetching logic becomes separated, but the data fetching is actually done on the server side, instead of possibly exposing the fetched resource server on the client and possibly CORS errors (but it can also be mitigated with 'server: true' when fetching directly). Defining allowed methods is also a breeze, as is the whole api structuring. Also, if you would like to access that data from other apps, or php, etc, you would just point it to the endpoint. However, pay attention to securing your api, as I've seen the wild endpoints that delete stuff from database without any protection. Just something to be aware of.
2 replies
NNuxt
Created by Gendarme on 7/25/2024 in #❓・help
API route errors
8 replies
NNuxt
Created by Gendarme on 7/25/2024 in #❓・help
API route errors
seems correct. But shouldn't it be [id].delete.ts?
8 replies
NNuxt
Created by brunomgmateus on 3/22/2024 in #❓・help
Vue devtools 6.6.1 doesn't seem to work properly since Nuxt 3.10, and stopped displaying in 3.11
👏
11 replies
NNuxt
Created by brunomgmateus on 3/22/2024 in #❓・help
Vue devtools 6.6.1 doesn't seem to work properly since Nuxt 3.10, and stopped displaying in 3.11
Great! I had to disable my nuxt devtools entirely and disable "update on reload" from the Aplication tab in Chrome, but works again. Thanks
11 replies
NNuxt
Created by brunomgmateus on 3/22/2024 in #❓・help
Vue devtools 6.6.1 doesn't seem to work properly since Nuxt 3.10, and stopped displaying in 3.11
Or any alternative to vueDevtools?
11 replies