Skip to content

Commit

Permalink
Lazy load the developer dock (#2294)
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hotze <[email protected]>
  • Loading branch information
florian-h05 authored Jan 29, 2024
1 parent 660b8f1 commit 6ea38c3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions bundles/org.openhab.ui/web/src/components/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,9 @@
<script>
import Framework7 from 'framework7/framework7-lite.esm.bundle.js'
import cordovaApp from '../js/cordova-app.js'
import routes from '../js/routes.js'
import PanelRight from '../pages/panel-right.vue'
import DeveloperDock from './developer/developer-dock.vue'
import cordovaApp from '@/js/cordova-app.js'
import routes from '@/js/routes.js'
import PanelRight from '@/pages/panel-right.vue'
import EmptyStatePlaceholder from '@/components/empty-state-placeholder.vue'
import { loadLocaleMessages } from '@/js/i18n'
Expand All @@ -266,7 +265,7 @@ export default {
components: {
EmptyStatePlaceholder,
PanelRight,
DeveloperDock
DeveloperDock: () => import(/* webpackChunkName: "admin-base" */ '@/components/developer/developer-dock.vue')
},
data () {
let theme = localStorage.getItem('openhab.ui:theme')
Expand Down

0 comments on commit 6ea38c3

Please sign in to comment.