create-vuetify 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vuetify",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "main": "dist/output.cjs",
5
5
  "author": "Elijah Kotyluk <elijah@elijahkotyluk.com>",
6
6
  "license": "MIT",
@@ -6,14 +6,14 @@
6
6
  "core-js": "^3.34.0"
7
7
  },
8
8
  "devDependencies": {
9
- "eslint": "^8.56.0",
9
+ "eslint": "^8.57.0",
10
10
  "eslint-config-standard": "^17.1.0",
11
- "eslint-plugin-import": "^2.29.0",
12
- "eslint-plugin-n": "^16.4.0",
11
+ "eslint-plugin-import": "^2.29.1",
12
+ "eslint-plugin-n": "^16.6.2",
13
13
  "eslint-plugin-node": "^11.1.0",
14
14
  "eslint-plugin-promise": "^6.1.1",
15
- "eslint-plugin-vue": "^9.19.0",
16
- "vue-router": "^4.2.0",
17
- "unplugin-vue-router": "^0.7.0"
15
+ "eslint-plugin-vue": "^9.22.0",
16
+ "vue-router": "^4.3.0",
17
+ "unplugin-vue-router": "^0.8.4"
18
18
  }
19
19
  }
@@ -12,11 +12,11 @@
12
12
  "vuetify": "^3.0.0"
13
13
  },
14
14
  "devDependencies": {
15
- "@vitejs/plugin-vue": "^4.5.0",
16
- "sass": "^1.69.0",
17
- "vite-plugin-vuetify": "^2.0.0",
18
- "vite": "^5.0.0",
15
+ "@vitejs/plugin-vue": "^5.0.4",
16
+ "sass": "^1.71.1",
17
+ "unplugin-fonts": "^1.1.1",
19
18
  "unplugin-vue-components": "^0.26.0",
20
- "unplugin-fonts": "^1.1.0"
19
+ "vite-plugin-vuetify": "^2.0.3",
20
+ "vite": "^5.1.5"
21
21
  }
22
22
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "devDependencies": {
3
- "pinia" : "^2.1.0",
4
- "unplugin-auto-import": "^0.17.3",
5
- "vite-plugin-vue-layouts": "^0.10.0"
3
+ "pinia" : "^2.1.7",
4
+ "unplugin-auto-import": "^0.17.5",
5
+ "vite-plugin-vue-layouts": "^0.11.0"
6
6
  }
7
7
  }
@@ -6,7 +6,7 @@
6
6
 
7
7
  // Plugins
8
8
  import vuetify from './vuetify'
9
- import pinia from '@/store'
9
+ import pinia from '@/stores'
10
10
  import router from '@/router'
11
11
 
12
12
  export function registerPlugins (app) {
@@ -6,15 +6,15 @@
6
6
  "core-js": "^3.34.0"
7
7
  },
8
8
  "devDependencies": {
9
- "@vue/eslint-config-typescript": "^12.0.0",
10
- "eslint": "^8.56.0",
9
+ "@vue/eslint-config-typescript": "^13.0.0",
10
+ "eslint": "^8.57.0",
11
11
  "eslint-config-standard": "^17.1.0",
12
- "eslint-plugin-import": "^2.29.0",
13
- "eslint-plugin-n": "^16.4.0",
12
+ "eslint-plugin-import": "^2.29.1",
13
+ "eslint-plugin-n": "^16.6.2",
14
14
  "eslint-plugin-node": "^11.1.0",
15
15
  "eslint-plugin-promise": "^6.1.1",
16
- "eslint-plugin-vue": "^9.19.0",
17
- "vue-router": "^4.2.0",
18
- "unplugin-vue-router": "^0.7.0"
16
+ "eslint-plugin-vue": "^9.22.0",
17
+ "vue-router": "^4.3.0",
18
+ "unplugin-vue-router": "^0.8.4"
19
19
  }
20
20
  }
@@ -6,21 +6,21 @@
6
6
  "preview": "vite preview"
7
7
  },
8
8
  "dependencies": {
9
- "@mdi/font": "7.0.96",
9
+ "@mdi/font": "6.2.95",
10
10
  "roboto-fontface": "*",
11
- "vue": "^3.3.0",
12
- "vuetify": "^3.0.0"
11
+ "vue": "^3.4.21",
12
+ "vuetify": "^3.5.8"
13
13
  },
14
14
  "devDependencies": {
15
- "@babel/types": "^7.23.0",
16
- "@types/node": "^20.10.0",
17
- "@vitejs/plugin-vue": "^4.5.0",
18
- "sass": "^1.69.0",
19
- "typescript": "^5.3.0",
20
- "vite": "^5.0.0",
21
- "vite-plugin-vuetify": "^2.0.0",
22
- "vue-tsc": "^1.8.0",
15
+ "@babel/types": "^7.24.0",
16
+ "@types/node": "^20.11.25",
17
+ "@vitejs/plugin-vue": "^5.0.4",
18
+ "sass": "^1.71.1",
19
+ "typescript": "^5.4.2",
20
+ "unplugin-fonts": "^1.1.1",
23
21
  "unplugin-vue-components": "^0.26.0",
24
- "unplugin-fonts": "^1.1.0"
22
+ "vite-plugin-vuetify": "^2.0.3",
23
+ "vite": "^5.1.5",
24
+ "vue-tsc": "^2.0.6"
25
25
  }
26
26
  }
@@ -1,25 +1,32 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "baseUrl": ".",
4
3
  "target": "ESNext",
5
- "useDefineForClassFields": true,
6
- "module": "ESNext",
7
- "moduleResolution": "Node",
8
- "strict": true,
9
4
  "jsx": "preserve",
5
+ "lib": ["DOM", "ESNext"],
6
+ "baseUrl": ".",
7
+ "module": "ESNext",
8
+ "moduleResolution": "node",
9
+ "paths": {
10
+ "@/*": ["src/*"]
11
+ },
10
12
  "resolveJsonModule": true,
11
- "isolatedModules": true,
13
+ "types": [
14
+ "vite/client",
15
+ "vite-plugin-vue-layouts/client",
16
+ "unplugin-vue-router/client"
17
+ ],
18
+ "allowJs": true,
19
+ "strict": true,
20
+ "strictNullChecks": true,
21
+ "noUnusedLocals": true,
12
22
  "esModuleInterop": true,
13
- "lib": ["ESNext", "DOM"],
14
- "skipLibCheck": true,
15
- "noEmit": true,
16
- "paths": {
17
- "@/*": [
18
- "src/*"
19
- ]
20
- }
23
+ "forceConsistentCasingInFileNames": true,
24
+ "isolatedModules": true,
25
+ "skipLibCheck": true
21
26
  },
22
- "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
27
+ "include": [
28
+ "./src/typed-router.d.ts"
29
+ ],
30
+ "exclude": ["dist", "node_modules", "cypress"],
23
31
  "references": [{ "path": "./tsconfig.node.json" }],
24
- "exclude": ["node_modules"]
25
32
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "devDependencies": {
3
- "pinia" : "^2.1.0",
4
- "unplugin-auto-import": "^0.17.3",
5
- "vite-plugin-vue-layouts": "^0.10.0"
3
+ "pinia" : "^2.1.7",
4
+ "unplugin-auto-import": "^0.17.5",
5
+ "vite-plugin-vue-layouts": "^0.11.0"
6
6
  }
7
7
  }
@@ -0,0 +1,197 @@
1
+ /* eslint-disable */
2
+ /* prettier-ignore */
3
+ // @ts-nocheck
4
+ // noinspection JSUnusedGlobalSymbols
5
+ // Generated by unplugin-auto-import
6
+ export {}
7
+ declare global {
8
+ const EffectScope: typeof import('vue')['EffectScope']
9
+ const computed: typeof import('vue')['computed']
10
+ const createApp: typeof import('vue')['createApp']
11
+ const customRef: typeof import('vue')['customRef']
12
+ const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
13
+ const defineComponent: typeof import('vue')['defineComponent']
14
+ const effectScope: typeof import('vue')['effectScope']
15
+ const getCurrentInstance: typeof import('vue')['getCurrentInstance']
16
+ const getCurrentScope: typeof import('vue')['getCurrentScope']
17
+ const h: typeof import('vue')['h']
18
+ const inject: typeof import('vue')['inject']
19
+ const isProxy: typeof import('vue')['isProxy']
20
+ const isReactive: typeof import('vue')['isReactive']
21
+ const isReadonly: typeof import('vue')['isReadonly']
22
+ const isRef: typeof import('vue')['isRef']
23
+ const markRaw: typeof import('vue')['markRaw']
24
+ const nextTick: typeof import('vue')['nextTick']
25
+ const onActivated: typeof import('vue')['onActivated']
26
+ const onBeforeMount: typeof import('vue')['onBeforeMount']
27
+ const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave']
28
+ const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate']
29
+ const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
30
+ const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
31
+ const onDeactivated: typeof import('vue')['onDeactivated']
32
+ const onErrorCaptured: typeof import('vue')['onErrorCaptured']
33
+ const onMounted: typeof import('vue')['onMounted']
34
+ const onRenderTracked: typeof import('vue')['onRenderTracked']
35
+ const onRenderTriggered: typeof import('vue')['onRenderTriggered']
36
+ const onScopeDispose: typeof import('vue')['onScopeDispose']
37
+ const onServerPrefetch: typeof import('vue')['onServerPrefetch']
38
+ const onUnmounted: typeof import('vue')['onUnmounted']
39
+ const onUpdated: typeof import('vue')['onUpdated']
40
+ const provide: typeof import('vue')['provide']
41
+ const reactive: typeof import('vue')['reactive']
42
+ const readonly: typeof import('vue')['readonly']
43
+ const ref: typeof import('vue')['ref']
44
+ const resolveComponent: typeof import('vue')['resolveComponent']
45
+ const shallowReactive: typeof import('vue')['shallowReactive']
46
+ const shallowReadonly: typeof import('vue')['shallowReadonly']
47
+ const shallowRef: typeof import('vue')['shallowRef']
48
+ const toRaw: typeof import('vue')['toRaw']
49
+ const toRef: typeof import('vue')['toRef']
50
+ const toRefs: typeof import('vue')['toRefs']
51
+ const toValue: typeof import('vue')['toValue']
52
+ const triggerRef: typeof import('vue')['triggerRef']
53
+ const unref: typeof import('vue')['unref']
54
+ const useAttrs: typeof import('vue')['useAttrs']
55
+ const useCssModule: typeof import('vue')['useCssModule']
56
+ const useCssVars: typeof import('vue')['useCssVars']
57
+ const useLink: typeof import('vue-router')['useLink']
58
+ const useRoute: typeof import('vue-router')['useRoute']
59
+ const useRouter: typeof import('vue-router')['useRouter']
60
+ const useSlots: typeof import('vue')['useSlots']
61
+ const watch: typeof import('vue')['watch']
62
+ const watchEffect: typeof import('vue')['watchEffect']
63
+ const watchPostEffect: typeof import('vue')['watchPostEffect']
64
+ const watchSyncEffect: typeof import('vue')['watchSyncEffect']
65
+ }
66
+ // for type re-export
67
+ declare global {
68
+ // @ts-ignore
69
+ export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
70
+ import('vue')
71
+ }
72
+ // for vue template auto import
73
+ import { UnwrapRef } from 'vue'
74
+ declare module 'vue' {
75
+ interface GlobalComponents {}
76
+ interface ComponentCustomProperties {
77
+ readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
78
+ readonly computed: UnwrapRef<typeof import('vue')['computed']>
79
+ readonly createApp: UnwrapRef<typeof import('vue')['createApp']>
80
+ readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
81
+ readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
82
+ readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']>
83
+ readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']>
84
+ readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
85
+ readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
86
+ readonly h: UnwrapRef<typeof import('vue')['h']>
87
+ readonly inject: UnwrapRef<typeof import('vue')['inject']>
88
+ readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
89
+ readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
90
+ readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
91
+ readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
92
+ readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
93
+ readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
94
+ readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>
95
+ readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>
96
+ readonly onBeforeRouteLeave: UnwrapRef<typeof import('vue-router')['onBeforeRouteLeave']>
97
+ readonly onBeforeRouteUpdate: UnwrapRef<typeof import('vue-router')['onBeforeRouteUpdate']>
98
+ readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']>
99
+ readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
100
+ readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
101
+ readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
102
+ readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']>
103
+ readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']>
104
+ readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']>
105
+ readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']>
106
+ readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>
107
+ readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
108
+ readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
109
+ readonly provide: UnwrapRef<typeof import('vue')['provide']>
110
+ readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
111
+ readonly readonly: UnwrapRef<typeof import('vue')['readonly']>
112
+ readonly ref: UnwrapRef<typeof import('vue')['ref']>
113
+ readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
114
+ readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>
115
+ readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
116
+ readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
117
+ readonly toRaw: UnwrapRef<typeof import('vue')['toRaw']>
118
+ readonly toRef: UnwrapRef<typeof import('vue')['toRef']>
119
+ readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']>
120
+ readonly toValue: UnwrapRef<typeof import('vue')['toValue']>
121
+ readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']>
122
+ readonly unref: UnwrapRef<typeof import('vue')['unref']>
123
+ readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']>
124
+ readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>
125
+ readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']>
126
+ readonly useLink: UnwrapRef<typeof import('vue-router')['useLink']>
127
+ readonly useRoute: UnwrapRef<typeof import('vue-router')['useRoute']>
128
+ readonly useRouter: UnwrapRef<typeof import('vue-router')['useRouter']>
129
+ readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
130
+ readonly watch: UnwrapRef<typeof import('vue')['watch']>
131
+ readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']>
132
+ readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>
133
+ readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']>
134
+ }
135
+ }
136
+ declare module '@vue/runtime-core' {
137
+ interface GlobalComponents {}
138
+ interface ComponentCustomProperties {
139
+ readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
140
+ readonly computed: UnwrapRef<typeof import('vue')['computed']>
141
+ readonly createApp: UnwrapRef<typeof import('vue')['createApp']>
142
+ readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
143
+ readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
144
+ readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']>
145
+ readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']>
146
+ readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
147
+ readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
148
+ readonly h: UnwrapRef<typeof import('vue')['h']>
149
+ readonly inject: UnwrapRef<typeof import('vue')['inject']>
150
+ readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
151
+ readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
152
+ readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
153
+ readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
154
+ readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
155
+ readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
156
+ readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>
157
+ readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>
158
+ readonly onBeforeRouteLeave: UnwrapRef<typeof import('vue-router')['onBeforeRouteLeave']>
159
+ readonly onBeforeRouteUpdate: UnwrapRef<typeof import('vue-router')['onBeforeRouteUpdate']>
160
+ readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']>
161
+ readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
162
+ readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
163
+ readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
164
+ readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']>
165
+ readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']>
166
+ readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']>
167
+ readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']>
168
+ readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>
169
+ readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
170
+ readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
171
+ readonly provide: UnwrapRef<typeof import('vue')['provide']>
172
+ readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
173
+ readonly readonly: UnwrapRef<typeof import('vue')['readonly']>
174
+ readonly ref: UnwrapRef<typeof import('vue')['ref']>
175
+ readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
176
+ readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>
177
+ readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
178
+ readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
179
+ readonly toRaw: UnwrapRef<typeof import('vue')['toRaw']>
180
+ readonly toRef: UnwrapRef<typeof import('vue')['toRef']>
181
+ readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']>
182
+ readonly toValue: UnwrapRef<typeof import('vue')['toValue']>
183
+ readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']>
184
+ readonly unref: UnwrapRef<typeof import('vue')['unref']>
185
+ readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']>
186
+ readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>
187
+ readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']>
188
+ readonly useLink: UnwrapRef<typeof import('vue-router')['useLink']>
189
+ readonly useRoute: UnwrapRef<typeof import('vue-router')['useRoute']>
190
+ readonly useRouter: UnwrapRef<typeof import('vue-router')['useRouter']>
191
+ readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
192
+ readonly watch: UnwrapRef<typeof import('vue')['watch']>
193
+ readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']>
194
+ readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>
195
+ readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']>
196
+ }
197
+ }
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ /* prettier-ignore */
3
+ // @ts-nocheck
4
+ // Generated by unplugin-vue-components
5
+ // Read more: https://github.com/vuejs/core/pull/3399
6
+ export {}
7
+
8
+ declare module 'vue' {
9
+ export interface GlobalComponents {
10
+ HelloWorld: typeof import('./src/components/HelloWorld.vue')['default']
11
+ RouterLink: typeof import('vue-router')['RouterLink']
12
+ RouterView: typeof import('vue-router')['RouterView']
13
+ }
14
+ }
@@ -6,7 +6,7 @@
6
6
 
7
7
  // Plugins
8
8
  import vuetify from './vuetify'
9
- import pinia from '../store'
9
+ import pinia from '../stores'
10
10
  import router from '../router'
11
11
 
12
12
  // Types
@@ -0,0 +1,23 @@
1
+ /* eslint-disable */
2
+ /* prettier-ignore */
3
+ // @ts-nocheck
4
+ // Generated by unplugin-vue-router. ‼️ DO NOT MODIFY THIS FILE ‼️
5
+ // It's recommended to commit this file.
6
+ // Make sure to add this file to your tsconfig.json file as an "includes" or "files" entry.
7
+
8
+ declare module 'vue-router/auto-routes' {
9
+ import type {
10
+ RouteRecordInfo,
11
+ ParamValue,
12
+ ParamValueOneOrMore,
13
+ ParamValueZeroOrMore,
14
+ ParamValueZeroOrOne,
15
+ } from 'unplugin-vue-router/types'
16
+
17
+ /**
18
+ * Route name map generated by unplugin-vue-router
19
+ */
20
+ export interface RouteNamedMap {
21
+ '/': RouteRecordInfo<'/', '/', Record<never, never>, Record<never, never>>,
22
+ }
23
+ }
@@ -14,8 +14,26 @@ import { fileURLToPath, URL } from 'node:url'
14
14
  // https://vitejs.dev/config/
15
15
  export default defineConfig({
16
16
  plugins: [
17
- VueRouter(),
17
+ VueRouter({
18
+ dts: 'src/typed-router.d.ts',
19
+ }),
18
20
  Layouts(),
21
+ AutoImport({
22
+ imports: [
23
+ 'vue',
24
+ {
25
+ 'vue-router/auto': ['useRoute', 'useRouter'],
26
+ }
27
+ ],
28
+ dts: 'src/auto-imports.d.ts',
29
+ eslintrc: {
30
+ enabled: true,
31
+ },
32
+ vueTemplate: true,
33
+ }),
34
+ Components({
35
+ dts: 'src/components.d.ts',
36
+ }),
19
37
  Vue({
20
38
  template: { transformAssetUrls },
21
39
  }),
@@ -26,7 +44,6 @@ export default defineConfig({
26
44
  configFile: 'src/styles/settings.scss',
27
45
  },
28
46
  }),
29
- Components(),
30
47
  Fonts({
31
48
  google: {
32
49
  families: [ {
@@ -35,17 +52,6 @@ export default defineConfig({
35
52
  }],
36
53
  },
37
54
  }),
38
- AutoImport({
39
- imports: [
40
- 'vue',
41
- 'vue-router',
42
- ],
43
- dts: true,
44
- eslintrc: {
45
- enabled: true,
46
- },
47
- vueTemplate: true,
48
- }),
49
55
  ],
50
56
  define: { 'process.env': {} },
51
57
  resolve: {