How to generate the v0 code with the Typescript and with the Daylight theme #7408
Replies: 4 comments 6 replies
-
Hi @mikesmallhelp! Could you share what the errors are? |
Beta Was this translation helpful? Give feedback.
3 replies
-
So copy over the globals.css file. As for the tailwind.config.ts
|
Beta Was this translation helpful? Give feedback.
3 replies
-
you need to trigger shift delete and start project init again |
Beta Was this translation helpful? Give feedback.
0 replies
-
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
How to generate the v0 code with the Typescript and with the Daylight theme? My v0 application link is https://v0.dev/r/ublMsETX4MQ
I generated the Next.js application with the instructions of this page
https://ui.shadcn.com/docs/installation/next
Then I managed to run
npx v0 add PRXJ3xxPhWh
with my repository
https://github.com/mikesmallhelp/prapp.
Then I added the new component to front page and added the any types for my component file (because there where errors in the Vercel deploy) and after that application was running. But it doesn't have the Daylight theme. I tried to copy globals.css, layout.tsx and tailwind.config.js from the v0 page, but there were errors when copying them.
So please help me. How to use the v0 with the Typescript and with the Daylight theme in your project?
So the v0 page looks like this
and my application looks like this (because the Daylight theme is missing)
Example
https://github.com/mikesmallhelp/prapp
Steps to Reproduce
Beta Was this translation helpful? Give feedback.
All reactions