feat: upgraded dependencies

This commit is contained in:
NGPixel
2017-10-28 14:17:14 -04:00
parent 784b48680c
commit 51cd37fd05
8 changed files with 467 additions and 398 deletions

View File

@@ -9,7 +9,9 @@ import Vue from 'vue'
import VueResource from 'vue-resource'
import VueClipboards from 'vue-clipboards'
import VeeValidate from 'vee-validate'
import { ApolloClient, createBatchingNetworkInterface } from 'apollo-client'
import { ApolloClient } from 'apollo-client'
import { HttpLink } from 'apollo-link-http'
import { InMemoryCache } from 'apollo-cache-inmemory'
import store from './store'
// ====================================
@@ -71,10 +73,11 @@ window.CONSTANTS = CONSTANTS
// ====================================
window.graphQL = new ApolloClient({
networkInterface: createBatchingNetworkInterface({
link: new HttpLink({
uri: window.location.protocol + '//' + window.location.host + siteConfig.path + '/graphql'
}),
connectToDevTools: true
cache: new InMemoryCache(),
connectToDevTools: (process.env.node_env === 'development')
})
// ====================================

View File

@@ -30,7 +30,7 @@ export default {
telemetry: true,
upgrade: false,
title: siteConfig.title || 'Wiki',
host: siteConfig.host || 'http://',
path: siteConfig.path || '/',
port: siteConfig.port || 80,
lang: siteConfig.lang || 'en',
public: (siteConfig.public === true),