🔍 Improving SEO
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user