Splatte
Splatte
TTCTheo's Typesafe Cult
Created by Splatte on 7/13/2023 in #questions
Contentlayer error when deploying onto Vercel
1 replies
TTCTheo's Typesafe Cult
Created by Splatte on 7/12/2023 in #questions
Fetching real time data in Next 13 on the client side
Hey everyone, I am starting to familiarize myself with Next 13 and it's server components, and I ran into a little problem. My goal is to allow a user to write an entry into the db and see it in real time. Below the form, I have all of the entries being mapped onto the page. The goal is for the user to not have to refresh the page when they submit the form. The functionality I want is identical to tRPC's .invalidate(). Anyone know a solution to this? Thank you! Will send code below.
4 replies
TTCTheo's Typesafe Cult
Created by Splatte on 7/6/2023 in #questions
Both my dev environment and my deployed code are the exact same, but my text is aligned differently
8 replies
TTCTheo's Typesafe Cult
Created by Splatte on 6/30/2023 in #questions
How can I let users download files uploaded to UploadThing
Hey all. Total noob with anything to do with files in the web dev space. I adopted UploadThing in my ct3a project and was wondering if there was a way to make these files downloadable somehow. Currently, when the src link is pressed on an <Image /> or <a> tag, the uploaded image opens in another tab. Anyone know the best way to go about this? Thanks!
2 replies
TTCTheo's Typesafe Cult
Created by Splatte on 6/28/2023 in #questions
How can I let users download files uploaded to UploadThing?
Hey all. Total noob with anything to do with files in the web dev space. I adopted UploadThing in my ct3a project and was wondering if there was a way to make these files downloadable somehow. Currently, when the src link is pressed on an <Image /> or <a> tag, the uploaded image opens in another tab. Anyone know the best way to go about this? Thanks!
2 replies
TTCTheo's Typesafe Cult
Created by Splatte on 6/21/2023 in #questions
Make UploadThing files downloadable
Hey everyone. Pretty new to file uploading and all that. Currently have UploadThing up and running, and I am trying to make files uploaded by certain users downloadable for everyone. Anyone know the best way to go about this? Is it possible? Is there a good a article/youtube video and take a look at? Thanks.
2 replies