Socket
Book a DemoInstallSign in
Socket

@nhost/vue

Package Overview
Dependencies
Maintainers
2
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nhost/vue

Nhost Vue library

latest
Source
npmnpm
Version
2.9.8
Version published
Maintainers
2
Created
Source

Nhost Vue

The Nhost Vue client exports a Nhost client that can be installed as a Vue plugin, and composables that make it easier to work with Nhost in your Vue app.

Documentation

Installation

Install the Nhost Vue client together with GraphQL:

# With npm
npm install @nhost/vue graphql

# With Yarn
yarn add @nhost/vue graphql

Initializing

Initialize a single nhost instance, and install it as a plugin in your Vue app.

import { createApp } from 'vue'
import { NhostClient } from '@nhost/vue'

import App from './App.vue'

const nhost = new NhostClient({
  subdomain: '<Your Nhost project subdomain>',
  region: '<Your Nhost project region>'
})

createApp(App).use(nhost).mount('#app')

Keywords

nhost

FAQs

Package last updated on 29 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts