dynamic route generation

This commit is contained in:
thomas
2020-03-02 19:05:30 +01:00
parent a1f2a5bf02
commit fa8ed1c104
5 changed files with 63 additions and 20 deletions
@@ -19,7 +19,7 @@
<p class="title article-title">{{ article.title }}</p>
<div class="tags has-addons level-item">
<span class="tag is-rounded is-info">@{{ article.authorV2.name }}</span>
<span class="tag is-rounded">{{ $moment(article.publishedAt).format('DD MMMM Y') }}</span>
<span class="tag is-rounded">{{ $moment(article.publishedAt, $moment.ISO_8601).format('DD MMMM Y') }}</span>
</div>
</div>
</div>
+1 -10
View File
@@ -51,16 +51,7 @@ export default {
query: `query {
shop {
name,
description,
privacyPolicy {
handle
},
termsOfService {
handle
},
refundPolicy {
handle
}
description
},
blogs(first: 10) {
edges {
@@ -1,6 +1,6 @@
<template>
<div class="container">
<h1>Policy</h1>
<h1>Privacy Policy</h1>
</div>
</template>