#VSCode deno.json setup
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
You just write your code like normal and update the from in your import to whatever you made it in the imports section in the deno.json
So if your imports look like this:
{
"imports": {
"oak": "https://deno.land/x/oak@v12.5.0/mod.ts"
}
}
then your code can simply be:
import { Application } from "oak";
oh, nice