update:add ci cd files ==> do not edit those file
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<div>
|
||||
<PreLoader />
|
||||
<SiteHeader />
|
||||
<div class="page-wrapper">
|
||||
<Nuxt />
|
||||
</div>
|
||||
<SiteFooter />
|
||||
<PageLoad />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
head() {
|
||||
return {
|
||||
htmlAttrs: {
|
||||
lang: this.$route.params.lang
|
||||
}
|
||||
}
|
||||
},
|
||||
async mounted() {
|
||||
try {
|
||||
const cover = await this.$axios.get('/api/public/cover')
|
||||
this.$store.commit('global/setCover', cover.data)
|
||||
} catch (err) {
|
||||
console.log('Couldnt fetch cover photos ---- ', err)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user