Draft: Feature/vue
2 unresolved threads
2 unresolved threads
Merge request reports
Activity
Filter activity
20 21 import ext from '$/io.ox/core/extensions' 22 import MyPage from './pages/my-page.vue' 23 24 // add a new page to the first start wizard 25 ext.point('io.ox/first-start-widget').extend([ 26 { 27 id: 'my-page', 28 index: 150, // 100 is the title page, 200 is the first page, so 150 would position this page as the new first page 29 component: MyPage 30 }, 31 { // remove an existing page 32 id: 'calendar-working-time', 33 disabled: true 34 }, 35 { // replace an existing page Does this actually work? Reusing/overwriting an existing id is not supported and is highly dependent on timing. In debug mode we actually show warnings if this happens.
If you actually want to replace something, don't call
extend
butreplace
on the extension point to indicate your actual intend.
Please register or sign in to reply