Skip to content

Info.vue

Image of the component

Page to display the clubs information page (nav-item: Information)

📄 View source on GitHub

Functions

getPageContent

Fetch the page content from the /information-page endpoint of the backend. Extracting all tabs and their content and setting the pointer / route to the intial tab (landing tab) of the page

Reactivity

(anonymous) (watch)

Watch for changes in the route.query.tab and update the pageContent.tab accordingly

Parameters:

  • newTab: - The new tab ID

(anonymous) (watch)

Watch for changes in the pageContent.tab and the content of the page with a router.replace accordingly

Parameters:

  • pageContent.value.tab: - The new tab ID

Released under the MIT License.