gabagoolo
gabagoolo
TTCTheo's Typesafe Cult
Created by gabagoolo on 7/7/2023 in #questions
Tailwind .ts config file intellisense not working
When I have tailwind.config.ts from the default t3 create, even with the right extensions installed the intellisense isn't working. There are actually typescript linting errors in the file like saying the import isnt used. Has anyone found a fix to this? I've fixed this by switching the .ts config to a .cjs one
5 replies
TTCTheo's Typesafe Cult
Created by gabagoolo on 1/7/2023 in #questions
T3 Stack Using MongoDB
I can't seem to find a repo that uses T3 and MongoDB. Could anyone link a repo? Thanks!
7 replies
TTCTheo's Typesafe Cult
Created by gabagoolo on 1/6/2023 in #questions
Fetching Data for Search Bar Homepage
So I'm trying to make a website with a homepage that has a search bar along with pre-computed data shown. The data is fetched through an API I would write in next.js. I want the search bar to begin showing suggestions as the user types. Assuming this is a clothes website, the search bar is used to find clothes. My question is how should I approach implementing the search bar? How do I maintain SEO? One way I'm thinking is using SSG and have all the possible clothes pre-loaded to the client? Any help is appreciated thanks!
4 replies