Upload Thing Help

hi all, i am a total front-end noob. have been focused on the back-end and just really want to start a personal project. i want to use theo's uploadthing library but i am having trouble using it.

this is my repository:
https://github.com/carlocodes/clipped

i have two issues:

  1. src/app/api/uploadthing/route.ts:Expression expected
  2. tailwind.config.ts:Am i wrapping the existing tailwind.config.ts properly with the "withUt" helper correctly? please let me know the proper/standard way of doing this.
i made this app with the "npx create-next-app@latest" command.

thanks!
Screenshot_2024-02-25_at_8.45.29_PM.png
GitHub
Contribute to carlocodes/clipped development by creating an account on GitHub.
Solution
  1. that's just placeholder for any config optoins you may want to add, if you dont just remove the dots
Was this page helpful?