clear
  • Introduction
  • HTML
  • Html Structure
    • Header
    • Left Side Menu
    • Right Side Menu
    • Main Content
      • Buttons
      • Font Icons
      • Progress Bars
      • Maps
      • Lock Screen
  • FAQ's
  • SCSS
  • CSS Files
  • Javascript Files
  • Plugins
  • Start New Page
    • Menu Bar Fold
    • Boxed and Moveable Header
    • Moveable Header
    • Boxed and Fixed Header
    • Fixed Header and Menu
  • Vue Version
    • Basic Installation
      • Clear 1.7 installation
    • Basic Structure
      • Layout structure
      • Leftmenu structure
      • Start New Page
      • Changing layouts
  • Changing Color Scheme
  • Laravel Spark Skin
    • Spark Installation
    • Using .vue files
    • Adding External Plugins
  • Laravel Version
    • Changing skin
    • Changing Layouts
Powered by GitBook
On this page
  • 1.Default Layout
  • 2.Fixed Header Layout
  • 3.Fixed Header and Fixed Menu Layout
  • 4.Fixed Menu Layout
  • 5.Horizontal Layout
  • 6.Menu Bar Folded Layout
  • 7.Boxed Layout

Was this helpful?

  1. Vue Version
  2. Basic Structure

Changing layouts

To change the layouts to your desired one involves changing names in the routes.js file

1.Default Layout

To get the default layout modify line as below.

const routes = [{
    path: '/',
        component: resolve => require(['./default.vue'], resolve),
        ]}

2.Fixed Header Layout

To get the fixed header layout modify line as below.

const routes = [{
    path: '/',
        component: resolve => require(['./fixed_header.vue'], resolve),
        ]}

3.Fixed Header and Fixed Menu Layout

To get the fixed header and fixed menu layout modify line as below.

const routes = [{
    path: '/',
        component: resolve => require(['./fixed_header_fixed_menu.vue'], resolve),
        ]}

4.Fixed Menu Layout

To get fixed menu layout modify line as below.

const routes = [{
    path: '/',
        component: resolve => require(['./fixed_menu.vue'], resolve),
        ]}

5.Horizontal Layout

To get Horizontal menu layout modify line as below.

const routes = [{
    path: '/',
        component: resolve => require(['./horizontal.vue'], resolve),
        ]}

6.Menu Bar Folded Layout

To get Folded menu bar layout modify line as below.

const routes = [{
    path: '/',
        component: resolve => require(['./menubar_fold.vue'], resolve),
        ]}

7.Boxed Layout

To get boxed layout modify line as below.

const routes = [{
    path: '/',
        component: resolve => require(['./boxed.vue'], resolve),
        ]}

Note: There are different styles of header and menu layout files are available.

  • Default layout

  • Fixed Header layout

  • Fixed Header and menu layout

  • Fixed menu

  • Horizontal layout

  • Menu bar folded layout

  • Boxed layout

PreviousStart New PageNextChanging Color Scheme

Last updated 5 years ago

Was this helpful?