
Security News
n8n Tops 2025 JavaScript Rising Stars as Workflow Platforms Gain Momentum
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.
@nhost/nuxt
Advanced tools
Nuxt.js wrapper for nhost-js-sdk.
First install the package:
npm install --save @nhost/nuxt
or using Yarn:
yarn add @nhost/nuxt
Then, add it to your Nuxt config modules.
{
modules: ["@nhost/nuxt"];
}
You can configure it like so:
{
modules: [
'@nhost/nuxt'
],
nhost: {
baseURL: "https://backend-url.nhost.app"
// Your options go here
}
}
To check out all the available options, check our documentation.
We provide middleware that automatically handles auth guards for your convenience. To enable it, follow the below steps:
nhost/auth to your Nuxt config middleware:{
router {
middleware: ['nhost/auth']
}
}
home and logout routes on the nhost config{
nhost: {
routes: {
home: '/dashboard',
logout: '/'
}
}
}
Users who attempt to access auth guarded pages without being logged in will be redirected to the logout route and users who are logged in and attempt to access guest pages will be redirected to the home route.
These routes can also be set to either undefined or false which will disable their respective functionality. They are also available under this.$nhost.$options.routes on Vue components or ctx.$nhost.$options.routes on the Nuxt Context.
nhostAuth property to your Nuxt pages:export default {
nhostAuth: true,
};
This property takes the following values:
true: User has to be authenticated to access this page. Users who are logged out will be redirected to the logout route.false: This is the default value; no authentication required.'guest': This page can only be accessed by unauthenticated users. Users who have logged in will be redirected to the home route.If you're using Typescript, make sure to include @nhost/nuxt to your Typescript config types:
{
compilerOptions: {
types: ["@nhost/nuxt"];
}
}
Exposes an $nhost property on the Vue object and on the Nuxt Context which is an instance of NHostClient
FAQs
Nhost Nuxt client
The npm package @nhost/nuxt receives a total of 1 weekly downloads. As such, @nhost/nuxt popularity was classified as not popular.
We found that @nhost/nuxt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

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.

Security News
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.