提交 d67ab685 编写于 作者: A Alfredo Sumaran

Set Groups Vue app for Dashboard page

上级 1dc2b469
import Vue from 'vue';
import GroupsStore from './stores/groups_store';
$(() => {
// Groups bundle
});
\ No newline at end of file
const groupsStore = new GroupsStore();
const GroupsApp = new Vue({
el: document.querySelector('.js-groups-list-holder'),
data: groupsStore,
});
});
export default class GroupsStore {
constructor() {
this.groups = [];
}
}
......@@ -2,6 +2,7 @@
- header_title "Groups", dashboard_groups_path
= render 'dashboard/groups_head'
= page_specific_javascript_bundle_tag('common_vue')
= page_specific_javascript_bundle_tag('groups')
- if @groups.empty?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册