File: app/components/license/license.js

Recommend this page to a friend!
  Classes of Sergey Beskorovayniy  >  Hackernews Vue  >  app/components/license/license.js  >  Download  
File: app/components/license/license.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Hackernews Vue
View information from Hackernews using Vue.js
Author: By
Last change:
Date: 5 years ago
Size: 378 bytes


Class file image Download
], function (Vue, marked, license) {

    // Create component class
    var License = Vue.extend({
        name: 'license',
        template:  '<div class="markdown-body">' + marked(license) + '</div>',

    // Create and registration component
    Vue.component('license', License);
    return License;