Skip to content

Commit

Permalink
fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Jul 24, 2022
1 parent 3ce5375 commit d49d767
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pages/index/index.page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

<script>
import { gql } from '@apollo/client/core/index.js'
import { useQuery, useResult } from '@vue/apollo-composable'
import pkg from '@vue/apollo-composable'
const { useQuery, useResult } = pkg
const getChar = gql`
query {
character(id: 1) {
Expand Down
3 changes: 2 additions & 1 deletion renderer/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { createSSRApp, h, provide } from 'vue'
import PageShell from './PageShell.vue'
import { setPageContext } from './usePageContext'
export { createApp }
import { DefaultApolloClient } from '@vue/apollo-composable'
import pkg from '@vue/apollo-composable'
const { DefaultApolloClient } = pkg

function createApp(pageContext, apolloClient) {
const { Page, pageProps } = pageContext
Expand Down

0 comments on commit d49d767

Please sign in to comment.