Skip to content

Commit 69487a0

Browse files
committed
refactor(dx): reorder imports
1 parent 78a04bf commit 69487a0

File tree

8 files changed

+19
-9
lines changed

8 files changed

+19
-9
lines changed

src/module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import {
2-
defineNuxtModule,
32
addComponentsDir,
43
addImportsDir,
5-
addServerImportsDir,
64
addLayout,
5+
addServerImportsDir,
76
createResolver,
7+
defineNuxtModule,
88
extendPages,
99
installModule,
1010
} from '@nuxt/kit'

src/runtime/components/EmailSubscribeForm.vue

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,17 @@
22
// Types
33
import type { VForm } from 'vuetify/lib/components/VForm/index.mjs'
44
5-
import { useId, navigateTo, useDisplay, ref, useNuxtifyConfig, getUtmParams, getBaseUrl, submitFormData, formRules, isExternalUrl,
5+
import {
6+
formRules,
7+
getBaseUrl,
8+
getUtmParams,
9+
isExternalUrl,
10+
navigateTo,
11+
ref,
12+
submitFormData,
13+
useDisplay,
14+
useId,
15+
useNuxtifyConfig,
616
} from '#imports'
717
818
// Props

src/runtime/components/app/AppBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { useDisplay, useDrawer, useNuxtifyConfig, mdiArrowTopRight, mdiClose, mdiMenu } from '#imports'
2+
import { mdiArrowTopRight, mdiClose, mdiMenu, useDisplay, useDrawer, useNuxtifyConfig } from '#imports'
33
44
// App state
55
const { smAndDown } = useDisplay()

src/runtime/components/app/AppFooter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { useNuxtifyConfig, mdiArrowTopRight } from '#imports'
2+
import { mdiArrowTopRight, useNuxtifyConfig } from '#imports'
33
44
// App state
55
const nuxtifyConfig = useNuxtifyConfig()

src/runtime/components/app/AppNavigationDrawer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { useDisplay, useDrawer, useNuxtifyConfig, mdiArrowTopRight } from '#imports'
2+
import { mdiArrowTopRight, useDisplay, useDrawer, useNuxtifyConfig } from '#imports'
33
44
// App state
55
const { smAndDown } = useDisplay()

src/runtime/pages/DynamicSlug.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { useRoute, capitalizeFirstLetter } from '#imports'
2+
import { capitalizeFirstLetter, useRoute } from '#imports'
33
44
// Page info
55
const route = useRoute()

src/runtime/pages/IndexPage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { useServerSeoMeta, useNuxtifyConfig } from '#imports'
2+
import { useNuxtifyConfig, useServerSeoMeta } from '#imports'
33
44
// Page info
55
useServerSeoMeta({

src/runtime/utils/icons.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { mdiArrowRight, mdiClose, mdiMenu, mdiArrowTopRight } from '@mdi/js'
1+
export { mdiArrowRight, mdiArrowTopRight, mdiClose, mdiMenu } from '@mdi/js'

0 commit comments

Comments
 (0)