Vue plugin that provides default LangGraph configuration to all components.
When installed, useStream composables throughout the application will
automatically use the configured apiUrl and client without requiring
explicit options.
LangChainPlugin: Plugin<[LangChainPluginOptions]>import { createApp } from "vue";
import { LangChainPlugin } from "@langchain/vue";
import App from "./App.vue";
const app = createApp(App);
app.use(LangChainPlugin, {
apiUrl: "http://localhost:2024",
});
app.mount("#app");