🔍 Improving SEO

This commit is contained in:
Liyas Thomas
2020-06-21 11:26:19 +05:30
parent fe9c08e92a
commit a38ef9e29e
7 changed files with 28 additions and 16 deletions

View File

@@ -381,7 +381,6 @@ export default {
},
}
},
computed: {
url: {
get() {
@@ -445,7 +444,6 @@ export default {
mounted() {
if (this.$store.state.gql.schemaIntrospection && this.$store.state.gql.schema) {
const gqlSchema = gql.buildClientSchema(JSON.parse(this.$store.state.gql.schemaIntrospection))
this.getDocsFromSchema(gqlSchema)
}
},
@@ -744,5 +742,10 @@ export default {
})
},
},
head() {
return {
title: `GraphQL • ${this.$store.state.name}`,
}
},
}
</script>