You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual: On the Games and Game pages we have an edit action. When it's clicked an EditDialog is opened. But the dialog is loaded with the whole page, even if the user doesn't want to edit anything.
Expected: Only when user clicks the edit action the EditDialog would load.
Tech notes: You can check the desired behaviour if you'll place a v-if directive on the actions slot. Then once it's truthy the component will be fetched via dynamic imports.
You can also make use of webpack magic comments to identify a chunk. GamesEditDialog: () => import(/* webpackChunkName: 'GamesEditDialog' */ '@/components/GamesEditDialog.vue')
The text was updated successfully, but these errors were encountered:
Actual: On the Games and Game pages we have an edit action. When it's clicked an EditDialog is opened. But the dialog is loaded with the whole page, even if the user doesn't want to edit anything.
Expected: Only when user clicks the edit action the EditDialog would load.
Tech notes: You can check the desired behaviour if you'll place a
v-if
directive on the actions slot. Then once it's truthy the component will be fetched via dynamic imports.You can also make use of webpack magic comments to identify a chunk.
GamesEditDialog: () => import(/* webpackChunkName: 'GamesEditDialog' */ '@/components/GamesEditDialog.vue')
The text was updated successfully, but these errors were encountered: