vite-plugin-apollo-server
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

vite-plugin-apollo-server

Apply apollo server middleware to the vite dev server

Installation

npm i vite-plugin-apollo-server

Usage

import { defineConfig } from 'vite'
import apolloServerPlugin from 'vite-plugin-apollo-server'

const schema = // generate your GraphQLSchema

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [apolloServerPlugin({ schema })]
})

Readme

Keywords

Package Sidebar

Install

npm i vite-plugin-apollo-server

Weekly Downloads

115

Version

0.1.6

License

MIT

Unpacked Size

6.01 kB

Total Files

6

Last publish

Collaborators

  • brense