GithubHelp home page GithubHelp logo

storipress / apollo-vue-devtools Goto Github PK

View Code? Open in Web Editor NEW
19.0 1.0 0.0 9.74 MB

Integrate GraphQL Apollo with Vue Devtools!

Home Page: https://storipress.com

License: MIT License

JavaScript 41.15% HTML 2.58% Vue 4.79% CSS 0.43% TypeScript 51.04%
devtools vue vuejs3 apollo graphql apollo-client apollo-server vuejs debugging vue-devtools

apollo-vue-devtools's Introduction

apollo-vue-devtool: Integrate Apollo with Vue Devtools

Usage

  1. Add the plugin to your Vue project:
import { createApp } from 'vue'
import Plugin from '@storipress/apollo-vue-devtool'
import App from './App.vue'

const app = createApp(App)
app.use(Plugin)
app.mount('#app')
  1. Add the DebugLink to your Apollo client:
import { DebugLink } from '@storipress/apollo-vue-devtool'
import { ApolloClient, ApolloLink, HttpLink } from '@apollo/client/client'

const client = new ApolloClient({
  link: ApolloLink.from([
    new DebugLink(),
    new HttpLink({
      uri: 'http://example.com/graphql',
    }),
  ]),
})
  1. Now open Vue Devtools and you'll see your queries in the timeline!

Installation

NPM

$ npm install --save-dev @storipress/apollo-vue-devtool

Yarn

$ yarn add --dev @storipress/apollo-vue-devtool

apollo-vue-devtools's People

Contributors

dansnow avatar dependabot[bot] avatar helloalexpan avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

apollo-vue-devtools's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/test.yml
  • actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
  • actions/setup-node v3
npm
example/package.json
  • @apollo/client ^3.5.10
  • @vue/apollo-composable ^4.0.0-alpha.16
  • graphql ^16.3.0
  • vue ^3.2.31
  • @vitejs/plugin-vue 5.1.2
  • autoprefixer 10.4.20
  • postcss 8.4.41
  • tailwindcss 3.4.10
  • vite 5.4.0
package.json
  • @vue/devtools-api ^6.0.12
  • @apollo/client 3.11.4
  • @rollup/plugin-commonjs 26.0.1
  • @rollup/plugin-node-resolve 15.2.3
  • @rollup/plugin-replace 5.0.7
  • @types/node 20.14.15
  • @vue/compiler-sfc 3.4.37
  • cross-fetch 4.0.0
  • graphql 16.9.0
  • msw 1.3.3
  • pascalcase 2.0.0
  • rimraf 6.0.1
  • rollup 4.20.0
  • @rollup/plugin-terser 0.4.4
  • rollup-plugin-ts 3.4.5
  • rollup-plugin-vue 6.0.0
  • typescript 5.5.4
  • vite 5.4.0
  • vitest 2.0.5
  • vue 3.4.37
  • @apollo/client ^3.0.0
  • graphql ^16.0.0
  • vue ^3.0.5
  • yarn 3.8.1

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.