Icontem

File: app/components/app/header/header.js

Recommend this page to a friend!
  Classes of Sergey Beskorovayniy  >  Vuex Examples  >  app/components/app/header/header.js  >  Download  
File: app/components/app/header/header.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Vuex Examples
Example apps using Vuex state management pattern
Author: By
Last change:
Date: 2 years ago
Size: 436 bytes
 

Contents

Class file image Download
define([
    // Components
    'app/components/app/header/logo',
    'app/components/app/header/menubar',
    'text!app/components/app/header/header.html'
], function (Logo, Menubar, template) {

    // Create component Header class
    var Header = {
        name: 'app-header',
        template: template,
        components: {
            'app-logo': Logo,
            'app-menubar': Menubar,
        }
    };
    return Header;
});