Explorer
home
/
zoteqbgb
/
public_html
/
resources
/
js
/
components
/
frontend
/
page
Location:
/home/zoteqbgb/public_html/resources/js/components/frontend/page
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: PageComponent.vue
<template> <section class="mb-10 sm:mb-20"> <div class="container"> <div class="mb-6"> <h2 class="text-[26px] leading-10 font-semibold capitalize mb-2" > {{ $t(`label.${page.title}`) }} </h2> <div v-if="page.image" class="w-full mb-6"> <img :src="page.image" alt="image" /> </div> <div v-html="page.description"></div> </div> <TemplateManagerComponent :menuTemplateId="page.menu_template_id" /> </div> </section> </template> <script> import TemplateManagerComponent from "../components/TemplateManagerComponent.vue"; export default { name: "PageComponent", components: { TemplateManagerComponent }, computed: { page: function () { return this.$store.getters["frontendPage/show"]; }, }, mounted() { this.pageSetup(); }, methods: { pageSetup: function () { if ( Object.keys(this.$route.params).length > 0 && typeof this.$route.params.slug === "string" ) { this.$store .dispatch("frontendPage/show", this.$route.params.slug) .then() .catch(); } }, }, watch: { $route() { this.pageSetup(); }, }, }; </script>
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
ContactUsComponent.vue
3,657 bytes
0644
2025-04-25 02:11
âï¸
ðï¸
Rename
PageComponent.vue
1,540 bytes
0644
2025-04-25 02:11
âï¸
ðï¸
Rename
Chang
Apply