Skip to content

Commit

Permalink
Code refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
akolson committed Oct 6, 2022
1 parent 76c13a8 commit e504a70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions docs/plugins/load-lib-components.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Vue from 'vue';
import VueCompositionAPI from '@vue/composition-api';
import KThemePlugin from '~~/lib/KThemePlugin';
import trackInputModality from '~~/lib/styles/trackInputModality';

Expand All @@ -7,4 +8,5 @@ import trackInputModality from '~~/lib/styles/trackInputModality';
// See `KThemePlugin` `$coreOutline` and `globalThemeState.inputModality`
trackInputModality({ disableFocusRingByDefault: false });

Vue.use(VueCompositionAPI);
Vue.use(KThemePlugin);
5 changes: 1 addition & 4 deletions lib/useKResponsiveWindow.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import Vue from 'vue';
import VueCompositionApi, { computed, onBeforeUnmount, onMounted, ref } from '@vue/composition-api';

Vue.use(VueCompositionApi);
import { computed, onBeforeUnmount, onMounted, ref } from '@vue/composition-api';

/**
* Returns window inner width and height
Expand Down

0 comments on commit e504a70

Please sign in to comment.