How can I setup mongoose on deno+next.js app?
I have created a next.js project by following this tutorial: https://docs.deno.com/examples/next_tutorial/
Now how can I connect mongoose on this project?
I followed this tutorial: https://docs.deno.com/examples/mongoose_tutorial/ to add Mongoose to Deno+Next project but can't. Please see my attachment screenshot.
Do I need to install the Deno+Next.js project as a Mongoose dependency using the CLI?
Or it doesn't need to be installed using CLI. Directly importing it like this will work
Now how can I connect mongoose on this project?
I followed this tutorial: https://docs.deno.com/examples/mongoose_tutorial/ to add Mongoose to Deno+Next project but can't. Please see my attachment screenshot.
Do I need to install the Deno+Next.js project as a Mongoose dependency using the CLI?
Or it doesn't need to be installed using CLI. Directly importing it like this will work
import mongoose from "npm:mongoose@^6.7";
Deno
In-depth documentation, guides, and reference materials for building secure, high-performance JavaScript and TypeScript applications with Deno

Deno
In-depth documentation, guides, and reference materials for building secure, high-performance JavaScript and TypeScript applications with Deno

