Default Header

The default header is set by the design and implemented using the following code:

header
  • import the component file from (e.g., src/components/partials/HeaderComponent.vue) in your <DefaultLayout>component.
  • import HeaderComponent from '@/components/partials/HeaderComponent.vue'

    Dynamic Header

    You can set different headers for different pages by following these steps:

    • Locate the File:
      • Open index.js file, navigate to the corresponding file (e.g., src/router/index.js). For example, to change the header on the "landing page"
      header
    • Update the Code:
      • Modify the header-related code in index.js file, Add Header component in <LandingPageLayout> then enter header name in curly bracket example is given below.
    • header
    • import the component file from (e.g., src/components/partials/HeaderComponent.vue) in your <DefaultLayout>component.
    • import HeaderComponent from '@/components/partials/HeaderComponent.vue'
    Note: This Feature Support Only Templates