Commit 4362639d authored by Jean Rabreau's avatar Jean Rabreau
Browse files

Hopla async load in homepage

parent 991da006
Pipeline #58828 passed with stages
in 5 minutes and 12 seconds
This diff is collapsed.
......@@ -20,6 +20,14 @@ import { pick, cloneDeep } from 'lodash/fp'
* @property {Password} [pass]
*/
/**
* @typedef {Object} UserInfo
* @property {string} bio
* @property {string} institution
* @property {string} researchLab
* @property {string[]} otherAffiliations
*/
/**
* @typedef {Object} UserProfile
* @property {String} username
......
......@@ -56,13 +56,12 @@
<script>
import { mapActions, mapGetters } from 'vuex'
import CrudListPublic from '@/components/crud/CrudListPublic'
import Hopla from '@/components/renderer/file/model/Hopla'
export default {
name: 'HomePage',
components: {
CrudListPublic,
Hopla,
Hopla: () => import('@/components/renderer/file/model/Hopla'),
},
data: () => ({
page: 1,
......
......@@ -18,7 +18,7 @@ const mountApp = (shallow = false, options = {}) =>
mountHelper(App) (shallow, {
router,
stubs: {
Notifications: { template: '<div id="notifications-menu"/>' }
Notifications: { template: '<div id="notifications-menu"/>',},
},
...options,
})
......
Supports Markdown
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