Icontem

File: app/components/app/content_site/content_site.js

Recommend this page to a friend!
  Classes of Sergey Beskorovayniy  >  Vuex Examples  >  app/components/app/content_site/content_site.js  >  Download  
File: app/components/app/content_site/content_site.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: 474 bytes
 

Contents

Class file image Download
define([
    'app/components/app/content_site/content',
    'app/components/app/content_site/sidebar',
    'text!app/components/app/content_site/content_site.html'
], function (Content, Sidebar, template) {

    // Create component ContentSite class
    var ContentSite = {
        name: 'app-content-site',
        template: template,
        components: {
            'app-content': Content,
            'app-sidebar': Sidebar,
        }
    };
    return ContentSite;
});