Skip to content

Commit c39c1df

Browse files
committed
Starting template
1 parent 1d1bab1 commit c39c1df

File tree

5 files changed

+2
-166
lines changed

5 files changed

+2
-166
lines changed

README.md

-23
This file was deleted.

apollo.config.js

-9
This file was deleted.

src/App.vue

+2-19
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
<template>
22
<img alt="Vue logo" src="./assets/logo.png" />
3-
<TableOfContents />
3+
<h1>The GraphQL Guide</h1>
44
</template>
55

66
<script>
7-
import { ApolloClient, InMemoryCache } from '@apollo/client/core'
8-
import { DefaultApolloClient } from '@vue/apollo-composable'
9-
import { provide } from 'vue'
10-
11-
import TableOfContents from './components/TableOfContents.vue'
12-
13-
const client = new ApolloClient({
14-
uri: 'https://api.graphql.guide/graphql',
15-
cache: new InMemoryCache()
16-
})
17-
187
export default {
19-
name: 'App',
20-
components: {
21-
TableOfContents
22-
},
23-
setup() {
24-
provide(DefaultApolloClient, client)
25-
}
8+
name: 'App'
269
}
2710
</script>

src/components/SectionList.vue

-56
This file was deleted.

src/components/TableOfContents.vue

-59
This file was deleted.

0 commit comments

Comments
 (0)