How to Import next/form ?
Unanswered
Siamese Crocodile posted this in #help-forum
Siamese CrocodileOP
I'm trying to use the Form component as described here : https://nextjs.org/docs/app/api-reference/components/form
I ran
Using app routing on next 14.2.8
I understand Form component is not stable and that is ok
I ran
npm i next-form however it won't compile. The error is Module not found: Can't resolve 'next/form'
1 | "use client"
2 |
> 3 | import {Form} from "next/form"Using app routing on next 14.2.8
I understand Form component is not stable and that is ok
5 Replies
This API is currently in the canary channel and not yet available in a stable version.you need to use
next@canarySiamese CrocodileOP
Oh wow so I need to update all of nextjs and not just the one component? Ok interesting.
Siamese CrocodileOP
Ok thanks guys, I will probably do this.
Siamese CrocodileOP
It's working. ok cool. thanks