// /plugins/database.js
import { sutando } from "sutando";
import config from "~/sutando.config.cjs";
export default defineNuxtPlugin(() => {
sutando.addConnection(config);
sutando.connection();
});
When I go to a server route using Sutando, the first load errors like it's missing the config, one all reloads after that it works fine.
How can I change my plugin to auto import this and set it up?