Patrity
Patrity
NNuxt
Created by Patrity on 10/12/2024 in #❓・help
Nuxt UI Table Expand - Programmatic/API Access
Outstanding. You rock. Hopefully they choose to expose this more natively in the future.
6 replies
NNuxt
Created by Patrity on 10/12/2024 in #❓・help
Nuxt UI Table Expand - Programmatic/API Access
Oh I overlooked where you called the index, my apologies
6 replies
NNuxt
Created by Patrity on 10/12/2024 in #❓・help
Nuxt UI Table Expand - Programmatic/API Access
Either way - thank you so much for taking the time to dig into this.
6 replies
NNuxt
Created by Patrity on 10/12/2024 in #❓・help
Nuxt UI Table Expand - Programmatic/API Access
Is it meant to be called on the table component or the template for the expansion? Also would there be any way to individually access each instance?
6 replies
NNuxt
Created by aakashthapa on 8/30/2024 in #❓・help
Nuxt UI table expanded event
hey @aakashthapa did you ever figure this out? Im looking to programmatically close the expanion...
2 replies
NNuxt
Created by Patrity on 9/13/2024 in #❓・help
Not fetching Supabase data
No description
20 replies
NNuxt
Created by Patrity on 9/13/2024 in #❓・help
Not fetching Supabase data
Shot you a dm
20 replies
NNuxt
Created by Patrity on 9/13/2024 in #❓・help
Not fetching Supabase data
I'm sure I just used computed out of habit, there is no need for it to ever be re-evaluated throughout the lifecycle of each component instance. It does not seem like this is causing the issue though.
20 replies
NNuxt
Created by Patrity on 9/13/2024 in #❓・help
Not fetching Supabase data
I'm not looking for a magic fix, just no idea where to even begin debugging something like this.
20 replies
NNuxt
Created by Patrity on 9/13/2024 in #❓・help
Not fetching Supabase data
Yeah, its a complex issue that would be a lot to repro. I've worked with nuxt and supabase a lot - just never run into anything like this.
20 replies
NNuxt
Created by Patrity on 9/13/2024 in #❓・help
Not fetching Supabase data
solely useAsyncData. Its computed out of habbit and should never change throughout the live of the component. Do you think that could cause it?
20 replies
NNuxt
Created by Patrity on 9/13/2024 in #❓・help
Not fetching Supabase data
const uniqueKey = computed(() => `iwpSchedData-${props.iwp}`)
const uniqueKey = computed(() => `iwpSchedData-${props.iwp}`)
20 replies
NNuxt
Created by Patrity on 9/13/2024 in #❓・help
Not fetching Supabase data
this function is loaded multiple times each time the component is loaded, unique key is computed depending on what it is looking up from the props. Each of the dropdowns from the video loads the same component and if the key is not unique, the asyncdata overwrites the other open components
20 replies
NNuxt
Created by Patrity on 9/13/2024 in #❓・help
Not fetching Supabase data
yes, I just did that and awaited and the issue behaves the same
20 replies
NNuxt
Created by Patrity on 9/13/2024 in #❓・help
Not fetching Supabase data
It works on the initial load and returns fine until I switch pages, the supabase call is awaited and then a couple lines down I return the data.. This happens on every page of my application, for every data fetch. As you can see in the recording console.log("Fetched iwpSchedData") is also never printed after I change tabs, along with the other log. It's like its getting to the supabase call and just sitting there, never actually making the call and it only happens when I switch tabs..
20 replies
NNuxt
Created by Patrity on 9/13/2024 in #❓・help
Not fetching Supabase data
Anyone have any ideas? :/ this one is really killing me
20 replies
NNuxt
Created by thejacer87 on 8/28/2024 in #❓・help
UTable static column width
You can get the header slot for the column you want want manually size a div inside. A little janky but it works:
<template #package-header="{ column }">
<div class="w-96">
{{ column.label }}
</div>
</template>
<template #package-header="{ column }">
<div class="w-96">
{{ column.label }}
</div>
</template>
2 replies
NNuxt
Created by topherlicious on 4/17/2024 in #❓・help
Understanding best practices for SSR + CMS setups
I'm going to leave this for someone hopefully more versed to tackle, but I really dont think this is necessary since itll only update if there are changes needed, so if you are still serving the same data from the backend, it wont update and its still rendered from the server. I guess I just don't understand why you are trying to accomplish this. Best of luck!
19 replies
NNuxt
Created by topherlicious on 4/17/2024 in #❓・help
Understanding best practices for SSR + CMS setups
19 replies
NNuxt
Created by topherlicious on 4/17/2024 in #❓・help
Understanding best practices for SSR + CMS setups
by default, useFetch will fetch once on the server, then check if it is changed on the client, if so, itll update. You're not wanting that behavior, correct? You only want it to fetch on the server.
19 replies