|
|
@@ -11,13 +11,10 @@ frappe.modules.Home = class { |
|
|
|
} |
|
|
|
make_body() { |
|
|
|
this.$modules_container = this.$parent.find('.layout-main'); |
|
|
|
frappe.require('/assets/js/frappe-vue.min.js', () => { |
|
|
|
Vue.prototype.__ = window.__; // eslint-disable-line |
|
|
|
// eslint-disable-next-line |
|
|
|
new Vue({ |
|
|
|
el: this.$modules_container[0], |
|
|
|
render: h => h(Modules) |
|
|
|
}); |
|
|
|
Vue.prototype.__ = window.__; |
|
|
|
new Vue({ |
|
|
|
el: this.$modules_container[0], |
|
|
|
render: h => h(Modules) |
|
|
|
}); |
|
|
|
} |
|
|
|
setup_header() { |
|
|
@@ -25,4 +22,4 @@ frappe.modules.Home = class { |
|
|
|
|
|
|
|
// subtitle |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |