Skip to content
Snippets Groups Projects
Commit d67ab685 authored by Alfredo Sumaran's avatar Alfredo Sumaran
Browse files

Set Groups Vue app for Dashboard page

parent 1dc2b469
No related branches found
No related tags found
No related merge requests found
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 = [];
}
}
Loading
Loading
@@ -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?
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment