Skip to content

OniVe/vue-apollo-typescript-example

Repository files navigation

vue-apollo-typescript-example

Reference

Vue

Nuxt

graphql-code-generator

./modules/typescript nuxt-typescript

./modules/vue-apollo apollo-module

Build Setup

# install dependencies
$ npm install # Or yarn install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

#  Generate graphql typings from local schema
$ npm run gql-gen-local

# Generate graphql typings from remote schema
$ npm run gql-gen-url

For detailed explanation on how things work, checkout the Nuxt.js docs.

About

A simple vue-apollo typescript example app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published