Join Slack
Powered by
how do I get prisma seed.ts working in nextjs? usi...
# orm-help
m
Minimal Sportswear
09/11/2022, 11:08 AM
how do I get prisma seed.ts working in nextjs? using esmodule doesn't work and using commonjs gives error
👀 1
o
Omri Katz
09/11/2022, 11:55 AM
Are. you using typescript?
v
Vladi Stevanovic
09/15/2022, 4:40 PM
👋 Hello
@Minimal Sportswear
, have you had a chance to check this doc:
https://www.prisma.io/docs/guides/database/seed-database
?
Vladi Stevanovic
09/15/2022, 4:40 PM
I also recommend this video:
https://youtu.be/2LwTUIqjbPo
â–¾
3
Views
Open in Slack
Previous
Next