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
  • index.html
  • app.vue
  • layout.vue
  • main.js

Was this helpful?

  1. Vue Version

Basic Structure

index.html

This is the starting point of the project. It contains the vue app instance.

app.vue

This is the component that gets loaded into the index.html when vue app is started.

app.vue also contains preloader component and route-view to load basic pages and the main layout.

layout.vue

This gets loaded into app.vue when main paths are accessed.

This contains the main layout including the header, left-menu and the right-side content including the right-side menu.

main.js

This is the starting of the vue app. The vue app is instantiated at the end of this file. This file also contains the routes of the app to which it should re-direct and is controlled by the vue-router. The vue-router configuration is also done in this page.

PreviousClear 1.7 installationNextLayout structure

Last updated 5 years ago

Was this helpful?