Omnislash
Omnislash
NNuxt
Created by Edik on 4/26/2024 in #❓・help
Plugins - add third party plugin to Nuxt
Sooo it's a nice way to prepare/reuse stuff
9 replies
NNuxt
Created by Edik on 4/26/2024 in #❓・help
Plugins - add third party plugin to Nuxt
Composables is basically for reusable script and is auto imported. For exemple I have one that import zod and prepare a bunch of zobject for me, that I just check with my SchemaValidator.
9 replies
NNuxt
Created by Edik on 4/26/2024 in #❓・help
Plugins - add third party plugin to Nuxt
Not sure it's the best way ^^, but working so far
9 replies
NNuxt
Created by Edik on 4/26/2024 in #❓・help
Plugins - add third party plugin to Nuxt
Hello, Never tried to add it in the nuxt conf after installation You can instantiate it in a util or composables that will indeed be auto imported
9 replies
NNuxt
Created by brick on 4/26/2024 in #❓・help
Components changing as page transition starts instead of after leave
Hello Fully random thought : You can't play with the Transition hook to update/print your new contant after the transition ? https://nuxt.com/docs/getting-started/transitions (JavaScript Hooks) Never faced this use case sorry, my next best idea would be to have a look at the lifecycle with the same general idea : a way to deal with my data at the end at the transition Now that I'm thinking about what I'm writing, might be breaking the SSR if you need it ^^" ? I don't use it for my project so..... no other idea sorry
2 replies
NNuxt
Created by Jan on 4/16/2024 in #❓・help
pass data from child component to parent
Don't hesitate to give more details on what you do exactly and what result you except if the links aren't enough ^^
6 replies
NNuxt
Created by Jan on 4/16/2024 in #❓・help
pass data from child component to parent
Hello 🙂 I'm not fully sure to understand what you want to do, but you basically have two options : 1/ Emit event : https://vuejs.org/guide/components/events.html#emitting-and-listening-to-events 2/ v-model, which are "two-way props" : https://vuejs.org/guide/components/v-model.html
6 replies
NNuxt
Created by Omnislash on 4/13/2024 in #❓・help
Deploy without Nitro
Thanks a lot ^^
9 replies
NNuxt
Created by owljackob on 4/12/2024 in #❓・help
Pass property using navigateTo
That's nice I didn't know that thank you !
7 replies
NNuxt
Created by Omnislash on 4/13/2024 in #❓・help
Deploy without Nitro
And tbh I will have a huge use of the SSR and all for a project in a year or two, sooo it's nice to capitalize on half of nuxt already I guess ^^
9 replies
NNuxt
Created by Omnislash on 4/13/2024 in #❓・help
Deploy without Nitro
In the meantime I actually found the documentation in nuxt to export the static website with and without SSR/Nitro and host as such
9 replies
NNuxt
Created by Omnislash on 4/13/2024 in #❓・help
Deploy without Nitro
never tried it, I wanted to work with vue, used vite a little, nuxt was kind of the "normal" next step (no pun intended) ?
9 replies
NNuxt
Created by Omnislash on 4/13/2024 in #❓・help
Deploy without Nitro
Nuxt brings more than Nitro to the table that I love using I don't mind Nitro existing, it was more in the "only deploy what I really use" logic ^^
9 replies
NNuxt
Created by Omnislash on 3/17/2024 in #❓・help
Can't run after cloning repo
My bad, it was just "nuxt install", it was in the readme........
4 replies
NNuxt
Created by Omnislash on 2/27/2024 in #❓・help
useFetch vs $fetch
Sorry I meant to GET data when loading a page 🙂
3 replies
NNuxt
Created by Omnislash on 2/27/2024 in #❓・help
Manually cancel useFetch
aw :/, thanks
3 replies
NNuxt
Created by Omnislash on 2/25/2024 in #❓・help
$fetch without await
Ok thanks a lot, will have a look into that 🙂
12 replies
NNuxt
Created by Omnislash on 2/25/2024 in #❓・help
$fetch without await
No description
12 replies
NNuxt
Created by Omnislash on 2/25/2024 in #❓・help
$fetch without await
this work perfectly... but not in TS I have this type error
12 replies