mohammad seliya
Why does my form submit for every keystroke?
try to follow below format and see if it works or not
const { data, execute, error } = useFetch('/api/register', {
method: 'POST',
immediate: false,
});
const handleSubmit = async () => {
await execute({ body: form.value });
}
41 replies
Create Pdf with nuxt
@Merite Not sure about Nuxt but with react you can do with react-print-pdf
checkout this blog - https://dev.to/fileforge/create-pdfs-with-tailwind-k0
10 replies