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
+2 -7
View File
@@ -19,7 +19,7 @@
Policy
</p>
<p class="footer-link">
<nuxt-link :to="`/policy/${privacyPolicy.handle}`">
<nuxt-link to="/policy/privacy-policy">
Privacy Policy
</nuxt-link>
</p>
@@ -36,12 +36,7 @@
<script>
export default {
name: 'TheFooter',
computed: {
privacyPolicy () {
return this.$store.state.shop.privacyPolicy
}
}
name: 'TheFooter'
}
</script>