
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@hrwg/apollo-nuxt
Advanced tools
This module integrates Apollo GraphQL for Vue with Nuxt 3.
Please note
Since
@vue/apollo-composable
is still in alpha and this module depends on it, caution is advised, since future changes may occur that break the functionality or compatibility of this module.
uri
of the GraphQL endpoint@vue/apollo-composable
being in alpha, breaking changes may occur in the futureThe module can be installed by running the following command:
npm i @hrwg/apollo-nuxt
It is activated and configured, by adding it to the nuxt.config.ts
.
import { defineNuxtConfig } from 'nuxt';
export default defineNuxtConfig({
modules: [
'@hrwg/apollo-nuxt',
],
apolloNuxt: {
uri: 'http://localhost:3000/api/graphql',
},
});
The configuration parameter uri
is the GraphQL endpoint.
After installation, GraphQL queries can be executed according to the Vue Apollo Documentation.
For a simple example, refer to the Playground Project.
npm i
to install dependencies.npm run dev:prepare
to generate type stubs.npm run dev
to start playground in development mode.This project adheres to Semantic Versioning. Please refer to the CHANGELOG.md for detailed changes and migration instructions.
MIT
FAQs
Nuxt 3 integration for Apollo GraphQL
We found that @hrwg/apollo-nuxt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.