BigW Consortium Gitlab

Commit d67ab685 by Alfredo Sumaran

Set Groups Vue app for Dashboard page

parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment