create-vuetify 2.8.0 → 3.0.0
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/LICENSE +9 -0
- package/README.md +30 -59
- package/dist/index.mjs +31156 -2465
- package/dist/nypm-D0-jh4wA.mjs +4 -0
- package/dist/nypm-DFp9HL5N.mjs +681 -0
- package/dist/rolldown-runtime-DA-mFLXi.mjs +15 -0
- package/dist/tar-CuErG4Sg.mjs +2941 -0
- package/package.json +39 -54
- package/bin/index.js +0 -3
- package/template/javascript/base/eslint.config.js +0 -3
- package/template/javascript/base/package.json +0 -13
- package/template/javascript/base/src/App.vue +0 -11
- package/template/javascript/base/src/components/HelloWorld.vue +0 -90
- package/template/javascript/base/src/pages/README.md +0 -5
- package/template/javascript/base/src/pages/index.vue +0 -7
- package/template/javascript/base/src/plugins/index.js +0 -15
- package/template/javascript/base/src/router/index.js +0 -35
- package/template/javascript/base/src/styles/README.md +0 -3
- package/template/javascript/base/src/styles/settings.scss +0 -10
- package/template/javascript/base/vite.config.mjs +0 -66
- package/template/javascript/default/.vscode/extensions.json +0 -3
- package/template/javascript/default/.vscode/settings.json +0 -3
- package/template/javascript/default/README.md +0 -79
- package/template/javascript/default/_browserslistrc +0 -4
- package/template/javascript/default/_editorconfig +0 -5
- package/template/javascript/default/_gitignore +0 -22
- package/template/javascript/default/index.html +0 -13
- package/template/javascript/default/jsconfig.json +0 -20
- package/template/javascript/default/package.json +0 -24
- package/template/javascript/default/public/favicon.ico +0 -0
- package/template/javascript/default/src/App.vue +0 -13
- package/template/javascript/default/src/assets/logo.png +0 -0
- package/template/javascript/default/src/assets/logo.svg +0 -6
- package/template/javascript/default/src/components/AppFooter.vue +0 -82
- package/template/javascript/default/src/components/HelloWorld.vue +0 -90
- package/template/javascript/default/src/components/README.md +0 -35
- package/template/javascript/default/src/main.js +0 -23
- package/template/javascript/default/src/plugins/README.md +0 -3
- package/template/javascript/default/src/plugins/index.js +0 -12
- package/template/javascript/default/src/plugins/vuetify.js +0 -19
- package/template/javascript/default/vite.config.mjs +0 -53
- package/template/javascript/essentials/_eslintrc-auto-import.json +0 -82
- package/template/javascript/essentials/package.json +0 -9
- package/template/javascript/essentials/src/App.vue +0 -9
- package/template/javascript/essentials/src/layouts/README.md +0 -5
- package/template/javascript/essentials/src/layouts/default.vue +0 -11
- package/template/javascript/essentials/src/plugins/index.js +0 -17
- package/template/javascript/essentials/src/router/index.js +0 -36
- package/template/javascript/essentials/src/stores/README.md +0 -5
- package/template/javascript/essentials/src/stores/app.js +0 -8
- package/template/javascript/essentials/src/stores/index.js +0 -4
- package/template/javascript/essentials/vite.config.mjs +0 -80
- package/template/typescript/base/env.d.ts +0 -2
- package/template/typescript/base/eslint.config.js +0 -3
- package/template/typescript/base/package.json +0 -13
- package/template/typescript/base/src/App.vue +0 -11
- package/template/typescript/base/src/components/HelloWorld.vue +0 -90
- package/template/typescript/base/src/pages/README.md +0 -5
- package/template/typescript/base/src/pages/index.vue +0 -7
- package/template/typescript/base/src/plugins/index.ts +0 -18
- package/template/typescript/base/src/router/index.ts +0 -35
- package/template/typescript/base/src/styles/README.md +0 -3
- package/template/typescript/base/src/styles/settings.scss +0 -10
- package/template/typescript/base/vite.config.mts +0 -70
- package/template/typescript/default/.vscode/extensions.json +0 -3
- package/template/typescript/default/.vscode/settings.json +0 -3
- package/template/typescript/default/README.md +0 -81
- package/template/typescript/default/_browserslistrc +0 -4
- package/template/typescript/default/_editorconfig +0 -6
- package/template/typescript/default/_gitignore +0 -22
- package/template/typescript/default/env.d.ts +0 -1
- package/template/typescript/default/index.html +0 -13
- package/template/typescript/default/package.json +0 -32
- package/template/typescript/default/public/favicon.ico +0 -0
- package/template/typescript/default/src/App.vue +0 -11
- package/template/typescript/default/src/assets/logo.png +0 -0
- package/template/typescript/default/src/assets/logo.svg +0 -6
- package/template/typescript/default/src/components/HelloWorld.vue +0 -90
- package/template/typescript/default/src/components/README.md +0 -35
- package/template/typescript/default/src/main.ts +0 -23
- package/template/typescript/default/src/plugins/README.md +0 -3
- package/template/typescript/default/src/plugins/index.ts +0 -15
- package/template/typescript/default/src/plugins/vuetify.ts +0 -19
- package/template/typescript/default/tsconfig.app.json +0 -14
- package/template/typescript/default/tsconfig.json +0 -11
- package/template/typescript/default/tsconfig.node.json +0 -19
- package/template/typescript/default/vite.config.mts +0 -53
- package/template/typescript/essentials/_eslintrc-auto-import.json +0 -82
- package/template/typescript/essentials/env.d.ts +0 -3
- package/template/typescript/essentials/package.json +0 -9
- package/template/typescript/essentials/src/App.vue +0 -9
- package/template/typescript/essentials/src/auto-imports.d.ts +0 -147
- package/template/typescript/essentials/src/components/AppFooter.vue +0 -82
- package/template/typescript/essentials/src/components.d.ts +0 -14
- package/template/typescript/essentials/src/layouts/README.md +0 -5
- package/template/typescript/essentials/src/layouts/default.vue +0 -11
- package/template/typescript/essentials/src/plugins/index.ts +0 -20
- package/template/typescript/essentials/src/router/index.ts +0 -36
- package/template/typescript/essentials/src/stores/README.md +0 -5
- package/template/typescript/essentials/src/stores/app.ts +0 -8
- package/template/typescript/essentials/src/stores/index.ts +0 -4
- package/template/typescript/essentials/src/typed-router.d.ts +0 -23
- package/template/typescript/essentials/vite.config.mts +0 -88
- package/template/typescript/nuxt/app-layout.vue +0 -5
- package/template/typescript/nuxt/app.vue +0 -9
- package/template/typescript/nuxt/assets/logo.png +0 -0
- package/template/typescript/nuxt/assets/logo.svg +0 -6
- package/template/typescript/nuxt/components/AppFooter.vue +0 -82
- package/template/typescript/nuxt/components/HelloWorld.vue +0 -90
- package/template/typescript/nuxt/layouts/default.vue +0 -9
- package/template/typescript/nuxt/modules/vuetify.ts +0 -137
- package/template/typescript/nuxt/pages/index.vue +0 -7
- package/template/typescript/nuxt/plugins/vuetify-nuxt.ts +0 -8
- package/template/typescript/nuxt/plugins/vuetify.ts +0 -14
- package/template/typescript/nuxt/vuetify.config.ts +0 -8
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@tsconfig/node22/tsconfig.json",
|
|
3
|
-
"include": [
|
|
4
|
-
"vite.config.*",
|
|
5
|
-
"vitest.config.*",
|
|
6
|
-
"cypress.config.*",
|
|
7
|
-
"nightwatch.conf.*",
|
|
8
|
-
"playwright.config.*"
|
|
9
|
-
],
|
|
10
|
-
"compilerOptions": {
|
|
11
|
-
"composite": true,
|
|
12
|
-
"noEmit": true,
|
|
13
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
14
|
-
|
|
15
|
-
"module": "ESNext",
|
|
16
|
-
"moduleResolution": "Bundler",
|
|
17
|
-
"types": ["node"]
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
// Plugins
|
|
2
|
-
import Components from 'unplugin-vue-components/vite'
|
|
3
|
-
import Vue from '@vitejs/plugin-vue'
|
|
4
|
-
import Vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
|
|
5
|
-
import Fonts from 'unplugin-fonts/vite'
|
|
6
|
-
|
|
7
|
-
// Utilities
|
|
8
|
-
import { defineConfig } from 'vite'
|
|
9
|
-
import { fileURLToPath, URL } from 'node:url'
|
|
10
|
-
|
|
11
|
-
// https://vitejs.dev/config/
|
|
12
|
-
export default defineConfig({
|
|
13
|
-
plugins: [
|
|
14
|
-
Vue({
|
|
15
|
-
template: { transformAssetUrls },
|
|
16
|
-
}),
|
|
17
|
-
// https://github.com/vuetifyjs/vuetify-loader/tree/master/packages/vite-plugin#readme
|
|
18
|
-
Vuetify(),
|
|
19
|
-
Components(),
|
|
20
|
-
Fonts({
|
|
21
|
-
fontsource: {
|
|
22
|
-
families: [
|
|
23
|
-
{
|
|
24
|
-
name: 'Roboto',
|
|
25
|
-
weights: [100, 300, 400, 500, 700, 900],
|
|
26
|
-
styles: ['normal', 'italic'],
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
},
|
|
30
|
-
}),
|
|
31
|
-
],
|
|
32
|
-
optimizeDeps: {
|
|
33
|
-
exclude: ['vuetify'],
|
|
34
|
-
},
|
|
35
|
-
define: { 'process.env': {} },
|
|
36
|
-
resolve: {
|
|
37
|
-
alias: {
|
|
38
|
-
'@': fileURLToPath(new URL('src', import.meta.url)),
|
|
39
|
-
},
|
|
40
|
-
extensions: [
|
|
41
|
-
'.js',
|
|
42
|
-
'.json',
|
|
43
|
-
'.jsx',
|
|
44
|
-
'.mjs',
|
|
45
|
-
'.ts',
|
|
46
|
-
'.tsx',
|
|
47
|
-
'.vue',
|
|
48
|
-
],
|
|
49
|
-
},
|
|
50
|
-
server: {
|
|
51
|
-
port: 3000,
|
|
52
|
-
},
|
|
53
|
-
})
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"globals": {
|
|
3
|
-
"Component": true,
|
|
4
|
-
"ComponentPublicInstance": true,
|
|
5
|
-
"ComputedRef": true,
|
|
6
|
-
"DirectiveBinding": true,
|
|
7
|
-
"EffectScope": true,
|
|
8
|
-
"ExtractDefaultPropTypes": true,
|
|
9
|
-
"ExtractPropTypes": true,
|
|
10
|
-
"ExtractPublicPropTypes": true,
|
|
11
|
-
"InjectionKey": true,
|
|
12
|
-
"MaybeRef": true,
|
|
13
|
-
"MaybeRefOrGetter": true,
|
|
14
|
-
"PropType": true,
|
|
15
|
-
"Ref": true,
|
|
16
|
-
"Slot": true,
|
|
17
|
-
"Slots": true,
|
|
18
|
-
"VNode": true,
|
|
19
|
-
"WritableComputedRef": true,
|
|
20
|
-
"computed": true,
|
|
21
|
-
"createApp": true,
|
|
22
|
-
"customRef": true,
|
|
23
|
-
"defineAsyncComponent": true,
|
|
24
|
-
"defineComponent": true,
|
|
25
|
-
"defineStore": true,
|
|
26
|
-
"effectScope": true,
|
|
27
|
-
"getCurrentInstance": true,
|
|
28
|
-
"getCurrentScope": true,
|
|
29
|
-
"h": true,
|
|
30
|
-
"inject": true,
|
|
31
|
-
"isProxy": true,
|
|
32
|
-
"isReactive": true,
|
|
33
|
-
"isReadonly": true,
|
|
34
|
-
"isRef": true,
|
|
35
|
-
"markRaw": true,
|
|
36
|
-
"nextTick": true,
|
|
37
|
-
"onActivated": true,
|
|
38
|
-
"onBeforeMount": true,
|
|
39
|
-
"onBeforeRouteLeave": true,
|
|
40
|
-
"onBeforeRouteUpdate": true,
|
|
41
|
-
"onBeforeUnmount": true,
|
|
42
|
-
"onBeforeUpdate": true,
|
|
43
|
-
"onDeactivated": true,
|
|
44
|
-
"onErrorCaptured": true,
|
|
45
|
-
"onMounted": true,
|
|
46
|
-
"onRenderTracked": true,
|
|
47
|
-
"onRenderTriggered": true,
|
|
48
|
-
"onScopeDispose": true,
|
|
49
|
-
"onServerPrefetch": true,
|
|
50
|
-
"onUnmounted": true,
|
|
51
|
-
"onUpdated": true,
|
|
52
|
-
"onWatcherCleanup": true,
|
|
53
|
-
"provide": true,
|
|
54
|
-
"reactive": true,
|
|
55
|
-
"readonly": true,
|
|
56
|
-
"ref": true,
|
|
57
|
-
"resolveComponent": true,
|
|
58
|
-
"shallowReactive": true,
|
|
59
|
-
"shallowReadonly": true,
|
|
60
|
-
"shallowRef": true,
|
|
61
|
-
"storeToRefs": true,
|
|
62
|
-
"toRaw": true,
|
|
63
|
-
"toRef": true,
|
|
64
|
-
"toRefs": true,
|
|
65
|
-
"toValue": true,
|
|
66
|
-
"triggerRef": true,
|
|
67
|
-
"unref": true,
|
|
68
|
-
"useAttrs": true,
|
|
69
|
-
"useCssModule": true,
|
|
70
|
-
"useCssVars": true,
|
|
71
|
-
"useId": true,
|
|
72
|
-
"useModel": true,
|
|
73
|
-
"useRoute": true,
|
|
74
|
-
"useRouter": true,
|
|
75
|
-
"useSlots": true,
|
|
76
|
-
"useTemplateRef": true,
|
|
77
|
-
"watch": true,
|
|
78
|
-
"watchEffect": true,
|
|
79
|
-
"watchPostEffect": true,
|
|
80
|
-
"watchSyncEffect": true
|
|
81
|
-
}
|
|
82
|
-
}
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
/* prettier-ignore */
|
|
3
|
-
// @ts-nocheck
|
|
4
|
-
// noinspection JSUnusedGlobalSymbols
|
|
5
|
-
// Generated by unplugin-auto-import
|
|
6
|
-
// biome-ignore lint: disable
|
|
7
|
-
export {}
|
|
8
|
-
declare global {
|
|
9
|
-
const EffectScope: typeof import('vue')['EffectScope']
|
|
10
|
-
const computed: typeof import('vue')['computed']
|
|
11
|
-
const createApp: typeof import('vue')['createApp']
|
|
12
|
-
const customRef: typeof import('vue')['customRef']
|
|
13
|
-
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
|
|
14
|
-
const defineComponent: typeof import('vue')['defineComponent']
|
|
15
|
-
const defineStore: typeof import('pinia')['defineStore']
|
|
16
|
-
const effectScope: typeof import('vue')['effectScope']
|
|
17
|
-
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
|
|
18
|
-
const getCurrentScope: typeof import('vue')['getCurrentScope']
|
|
19
|
-
const h: typeof import('vue')['h']
|
|
20
|
-
const inject: typeof import('vue')['inject']
|
|
21
|
-
const isProxy: typeof import('vue')['isProxy']
|
|
22
|
-
const isReactive: typeof import('vue')['isReactive']
|
|
23
|
-
const isReadonly: typeof import('vue')['isReadonly']
|
|
24
|
-
const isRef: typeof import('vue')['isRef']
|
|
25
|
-
const markRaw: typeof import('vue')['markRaw']
|
|
26
|
-
const nextTick: typeof import('vue')['nextTick']
|
|
27
|
-
const onActivated: typeof import('vue')['onActivated']
|
|
28
|
-
const onBeforeMount: typeof import('vue')['onBeforeMount']
|
|
29
|
-
const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave']
|
|
30
|
-
const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate']
|
|
31
|
-
const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
|
|
32
|
-
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
|
|
33
|
-
const onDeactivated: typeof import('vue')['onDeactivated']
|
|
34
|
-
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
|
|
35
|
-
const onMounted: typeof import('vue')['onMounted']
|
|
36
|
-
const onRenderTracked: typeof import('vue')['onRenderTracked']
|
|
37
|
-
const onRenderTriggered: typeof import('vue')['onRenderTriggered']
|
|
38
|
-
const onScopeDispose: typeof import('vue')['onScopeDispose']
|
|
39
|
-
const onServerPrefetch: typeof import('vue')['onServerPrefetch']
|
|
40
|
-
const onUnmounted: typeof import('vue')['onUnmounted']
|
|
41
|
-
const onUpdated: typeof import('vue')['onUpdated']
|
|
42
|
-
const onWatcherCleanup: typeof import('vue')['onWatcherCleanup']
|
|
43
|
-
const provide: typeof import('vue')['provide']
|
|
44
|
-
const reactive: typeof import('vue')['reactive']
|
|
45
|
-
const readonly: typeof import('vue')['readonly']
|
|
46
|
-
const ref: typeof import('vue')['ref']
|
|
47
|
-
const resolveComponent: typeof import('vue')['resolveComponent']
|
|
48
|
-
const shallowReactive: typeof import('vue')['shallowReactive']
|
|
49
|
-
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
|
50
|
-
const shallowRef: typeof import('vue')['shallowRef']
|
|
51
|
-
const storeToRefs: typeof import('pinia')['storeToRefs']
|
|
52
|
-
const toRaw: typeof import('vue')['toRaw']
|
|
53
|
-
const toRef: typeof import('vue')['toRef']
|
|
54
|
-
const toRefs: typeof import('vue')['toRefs']
|
|
55
|
-
const toValue: typeof import('vue')['toValue']
|
|
56
|
-
const triggerRef: typeof import('vue')['triggerRef']
|
|
57
|
-
const unref: typeof import('vue')['unref']
|
|
58
|
-
const useAttrs: typeof import('vue')['useAttrs']
|
|
59
|
-
const useCssModule: typeof import('vue')['useCssModule']
|
|
60
|
-
const useCssVars: typeof import('vue')['useCssVars']
|
|
61
|
-
const useId: typeof import('vue')['useId']
|
|
62
|
-
const useModel: typeof import('vue')['useModel']
|
|
63
|
-
const useRoute: typeof import('vue-router')['useRoute']
|
|
64
|
-
const useRouter: typeof import('vue-router')['useRouter']
|
|
65
|
-
const useSlots: typeof import('vue')['useSlots']
|
|
66
|
-
const useTemplateRef: typeof import('vue')['useTemplateRef']
|
|
67
|
-
const watch: typeof import('vue')['watch']
|
|
68
|
-
const watchEffect: typeof import('vue')['watchEffect']
|
|
69
|
-
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
|
70
|
-
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
|
71
|
-
}
|
|
72
|
-
// for type re-export
|
|
73
|
-
declare global {
|
|
74
|
-
// @ts-ignore
|
|
75
|
-
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
|
|
76
|
-
import('vue')
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// for vue template auto import
|
|
80
|
-
import { UnwrapRef } from 'vue'
|
|
81
|
-
declare module 'vue' {
|
|
82
|
-
interface GlobalComponents {}
|
|
83
|
-
interface ComponentCustomProperties {
|
|
84
|
-
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
|
|
85
|
-
readonly computed: UnwrapRef<typeof import('vue')['computed']>
|
|
86
|
-
readonly createApp: UnwrapRef<typeof import('vue')['createApp']>
|
|
87
|
-
readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
|
|
88
|
-
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
|
|
89
|
-
readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']>
|
|
90
|
-
readonly defineStore: UnwrapRef<typeof import('pinia')['defineStore']>
|
|
91
|
-
readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']>
|
|
92
|
-
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
|
|
93
|
-
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
|
|
94
|
-
readonly h: UnwrapRef<typeof import('vue')['h']>
|
|
95
|
-
readonly inject: UnwrapRef<typeof import('vue')['inject']>
|
|
96
|
-
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
|
|
97
|
-
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
|
|
98
|
-
readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
|
|
99
|
-
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
|
|
100
|
-
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
|
|
101
|
-
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
|
|
102
|
-
readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>
|
|
103
|
-
readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>
|
|
104
|
-
readonly onBeforeRouteLeave: UnwrapRef<typeof import('vue-router')['onBeforeRouteLeave']>
|
|
105
|
-
readonly onBeforeRouteUpdate: UnwrapRef<typeof import('vue-router')['onBeforeRouteUpdate']>
|
|
106
|
-
readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']>
|
|
107
|
-
readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
|
|
108
|
-
readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
|
|
109
|
-
readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
|
|
110
|
-
readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']>
|
|
111
|
-
readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']>
|
|
112
|
-
readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']>
|
|
113
|
-
readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']>
|
|
114
|
-
readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>
|
|
115
|
-
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
|
|
116
|
-
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
|
|
117
|
-
readonly onWatcherCleanup: UnwrapRef<typeof import('vue')['onWatcherCleanup']>
|
|
118
|
-
readonly provide: UnwrapRef<typeof import('vue')['provide']>
|
|
119
|
-
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
|
|
120
|
-
readonly readonly: UnwrapRef<typeof import('vue')['readonly']>
|
|
121
|
-
readonly ref: UnwrapRef<typeof import('vue')['ref']>
|
|
122
|
-
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
|
|
123
|
-
readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>
|
|
124
|
-
readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
|
|
125
|
-
readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
|
|
126
|
-
readonly storeToRefs: UnwrapRef<typeof import('pinia')['storeToRefs']>
|
|
127
|
-
readonly toRaw: UnwrapRef<typeof import('vue')['toRaw']>
|
|
128
|
-
readonly toRef: UnwrapRef<typeof import('vue')['toRef']>
|
|
129
|
-
readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']>
|
|
130
|
-
readonly toValue: UnwrapRef<typeof import('vue')['toValue']>
|
|
131
|
-
readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']>
|
|
132
|
-
readonly unref: UnwrapRef<typeof import('vue')['unref']>
|
|
133
|
-
readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']>
|
|
134
|
-
readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>
|
|
135
|
-
readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']>
|
|
136
|
-
readonly useId: UnwrapRef<typeof import('vue')['useId']>
|
|
137
|
-
readonly useModel: UnwrapRef<typeof import('vue')['useModel']>
|
|
138
|
-
readonly useRoute: UnwrapRef<typeof import('vue-router')['useRoute']>
|
|
139
|
-
readonly useRouter: UnwrapRef<typeof import('vue-router')['useRouter']>
|
|
140
|
-
readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
|
|
141
|
-
readonly useTemplateRef: UnwrapRef<typeof import('vue')['useTemplateRef']>
|
|
142
|
-
readonly watch: UnwrapRef<typeof import('vue')['watch']>
|
|
143
|
-
readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']>
|
|
144
|
-
readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>
|
|
145
|
-
readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']>
|
|
146
|
-
}
|
|
147
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<v-footer
|
|
3
|
-
app
|
|
4
|
-
height="40"
|
|
5
|
-
>
|
|
6
|
-
<a
|
|
7
|
-
v-for="item in items"
|
|
8
|
-
:key="item.title"
|
|
9
|
-
class="d-inline-block mx-2 social-link"
|
|
10
|
-
:href="item.href"
|
|
11
|
-
rel="noopener noreferrer"
|
|
12
|
-
target="_blank"
|
|
13
|
-
:title="item.title"
|
|
14
|
-
>
|
|
15
|
-
<v-icon
|
|
16
|
-
:icon="item.icon"
|
|
17
|
-
:size="item.icon === '$vuetify' ? 24 : 16"
|
|
18
|
-
/>
|
|
19
|
-
</a>
|
|
20
|
-
|
|
21
|
-
<div
|
|
22
|
-
class="text-caption text-disabled"
|
|
23
|
-
style="position: absolute; right: 16px;"
|
|
24
|
-
>
|
|
25
|
-
© 2016-{{ (new Date()).getFullYear() }} <span class="d-none d-sm-inline-block">Vuetify, LLC</span>
|
|
26
|
-
—
|
|
27
|
-
<a
|
|
28
|
-
class="text-decoration-none on-surface"
|
|
29
|
-
href="https://vuetifyjs.com/about/licensing/"
|
|
30
|
-
rel="noopener noreferrer"
|
|
31
|
-
target="_blank"
|
|
32
|
-
>
|
|
33
|
-
MIT License
|
|
34
|
-
</a>
|
|
35
|
-
</div>
|
|
36
|
-
</v-footer>
|
|
37
|
-
</template>
|
|
38
|
-
|
|
39
|
-
<script setup lang="ts">
|
|
40
|
-
const items = [
|
|
41
|
-
{
|
|
42
|
-
title: 'Vuetify Documentation',
|
|
43
|
-
icon: `$vuetify`,
|
|
44
|
-
href: 'https://vuetifyjs.com/',
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
title: 'Vuetify Support',
|
|
48
|
-
icon: 'mdi-shield-star-outline',
|
|
49
|
-
href: 'https://support.vuetifyjs.com/',
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
title: 'Vuetify X',
|
|
53
|
-
icon: ['M2.04875 3.00002L9.77052 13.3248L1.99998 21.7192H3.74882L10.5519 14.3697L16.0486 21.7192H22L13.8437 10.8137L21.0765 3.00002H19.3277L13.0624 9.76874L8.0001 3.00002H2.04875ZM4.62054 4.28821H7.35461L19.4278 20.4308H16.6937L4.62054 4.28821Z'],
|
|
54
|
-
href: 'https://x.com/vuetifyjs',
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
title: 'Vuetify GitHub',
|
|
58
|
-
icon: `mdi-github`,
|
|
59
|
-
href: 'https://github.com/vuetifyjs/vuetify',
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
title: 'Vuetify Discord',
|
|
63
|
-
icon: ['M22,24L16.75,19L17.38,21H4.5A2.5,2.5 0 0,1 2,18.5V3.5A2.5,2.5 0 0,1 4.5,1H19.5A2.5,2.5 0 0,1 22,3.5V24M12,6.8C9.32,6.8 7.44,7.95 7.44,7.95C8.47,7.03 10.27,6.5 10.27,6.5L10.1,6.33C8.41,6.36 6.88,7.53 6.88,7.53C5.16,11.12 5.27,14.22 5.27,14.22C6.67,16.03 8.75,15.9 8.75,15.9L9.46,15C8.21,14.73 7.42,13.62 7.42,13.62C7.42,13.62 9.3,14.9 12,14.9C14.7,14.9 16.58,13.62 16.58,13.62C16.58,13.62 15.79,14.73 14.54,15L15.25,15.9C15.25,15.9 17.33,16.03 18.73,14.22C18.73,14.22 18.84,11.12 17.12,7.53C17.12,7.53 15.59,6.36 13.9,6.33L13.73,6.5C13.73,6.5 15.53,7.03 16.56,7.95C16.56,7.95 14.68,6.8 12,6.8M9.93,10.59C10.58,10.59 11.11,11.16 11.1,11.86C11.1,12.55 10.58,13.13 9.93,13.13C9.29,13.13 8.77,12.55 8.77,11.86C8.77,11.16 9.28,10.59 9.93,10.59M14.1,10.59C14.75,10.59 15.27,11.16 15.27,11.86C15.27,12.55 14.75,13.13 14.1,13.13C13.46,13.13 12.94,12.55 12.94,11.86C12.94,11.16 13.45,10.59 14.1,10.59Z'],
|
|
64
|
-
href: 'https://community.vuetifyjs.com/',
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
title: 'Vuetify Reddit',
|
|
68
|
-
icon: `mdi-reddit`,
|
|
69
|
-
href: 'https://reddit.com/r/vuetifyjs',
|
|
70
|
-
},
|
|
71
|
-
]
|
|
72
|
-
</script>
|
|
73
|
-
|
|
74
|
-
<style scoped lang="sass">
|
|
75
|
-
.social-link :deep(.v-icon)
|
|
76
|
-
color: rgba(var(--v-theme-on-background), var(--v-disabled-opacity))
|
|
77
|
-
text-decoration: none
|
|
78
|
-
transition: .2s ease-in-out
|
|
79
|
-
|
|
80
|
-
&:hover
|
|
81
|
-
color: rgba(25, 118, 210, 1)
|
|
82
|
-
</style>
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Layouts
|
|
2
|
-
|
|
3
|
-
Layouts are reusable components that wrap around pages. They are used to provide a consistent look and feel across multiple pages.
|
|
4
|
-
|
|
5
|
-
Full documentation for this feature can be found in the Official [vite-plugin-vue-layouts-next](https://github.com/loicduong/vite-plugin-vue-layouts-next) repository.
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* plugins/index.ts
|
|
3
|
-
*
|
|
4
|
-
* Automatically included in `./src/main.ts`
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
// Plugins
|
|
8
|
-
import vuetify from './vuetify'
|
|
9
|
-
import pinia from '../stores'
|
|
10
|
-
import router from '../router'
|
|
11
|
-
|
|
12
|
-
// Types
|
|
13
|
-
import type { App } from 'vue'
|
|
14
|
-
|
|
15
|
-
export function registerPlugins (app: App) {
|
|
16
|
-
app
|
|
17
|
-
.use(vuetify)
|
|
18
|
-
.use(router)
|
|
19
|
-
.use(pinia)
|
|
20
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* router/index.ts
|
|
3
|
-
*
|
|
4
|
-
* Automatic routes for `./src/pages/*.vue`
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
// Composables
|
|
8
|
-
import { createRouter, createWebHistory } from 'vue-router'
|
|
9
|
-
import { setupLayouts } from 'virtual:generated-layouts'
|
|
10
|
-
import { routes } from 'vue-router/auto-routes'
|
|
11
|
-
|
|
12
|
-
const router = createRouter({
|
|
13
|
-
history: createWebHistory(import.meta.env.BASE_URL),
|
|
14
|
-
routes: setupLayouts(routes),
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
// Workaround for https://github.com/vitejs/vite/issues/11804
|
|
18
|
-
router.onError((err, to) => {
|
|
19
|
-
if (err?.message?.includes?.('Failed to fetch dynamically imported module')) {
|
|
20
|
-
if (localStorage.getItem('vuetify:dynamic-reload')) {
|
|
21
|
-
console.error('Dynamic import error, reloading page did not fix it', err)
|
|
22
|
-
} else {
|
|
23
|
-
console.log('Reloading page to fix dynamic import error')
|
|
24
|
-
localStorage.setItem('vuetify:dynamic-reload', 'true')
|
|
25
|
-
location.assign(to.fullPath)
|
|
26
|
-
}
|
|
27
|
-
} else {
|
|
28
|
-
console.error(err)
|
|
29
|
-
}
|
|
30
|
-
})
|
|
31
|
-
|
|
32
|
-
router.isReady().then(() => {
|
|
33
|
-
localStorage.removeItem('vuetify:dynamic-reload')
|
|
34
|
-
})
|
|
35
|
-
|
|
36
|
-
export default router
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
// Plugins
|
|
2
|
-
import AutoImport from 'unplugin-auto-import/vite'
|
|
3
|
-
import Components from 'unplugin-vue-components/vite'
|
|
4
|
-
import Fonts from 'unplugin-fonts/vite'
|
|
5
|
-
import Layouts from 'vite-plugin-vue-layouts-next'
|
|
6
|
-
import Vue from '@vitejs/plugin-vue'
|
|
7
|
-
import VueRouter from 'unplugin-vue-router/vite'
|
|
8
|
-
import { VueRouterAutoImports } from 'unplugin-vue-router'
|
|
9
|
-
import Vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
|
|
10
|
-
|
|
11
|
-
// Utilities
|
|
12
|
-
import { defineConfig } from 'vite'
|
|
13
|
-
import { fileURLToPath, URL } from 'node:url'
|
|
14
|
-
|
|
15
|
-
// https://vitejs.dev/config/
|
|
16
|
-
export default defineConfig({
|
|
17
|
-
plugins: [
|
|
18
|
-
VueRouter({
|
|
19
|
-
dts: 'src/typed-router.d.ts',
|
|
20
|
-
}),
|
|
21
|
-
Layouts(),
|
|
22
|
-
AutoImport({
|
|
23
|
-
imports: [
|
|
24
|
-
'vue',
|
|
25
|
-
VueRouterAutoImports,
|
|
26
|
-
{
|
|
27
|
-
pinia: ['defineStore', 'storeToRefs'],
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
dts: 'src/auto-imports.d.ts',
|
|
31
|
-
eslintrc: {
|
|
32
|
-
enabled: true,
|
|
33
|
-
},
|
|
34
|
-
vueTemplate: true,
|
|
35
|
-
}),
|
|
36
|
-
Components({
|
|
37
|
-
dts: 'src/components.d.ts',
|
|
38
|
-
}),
|
|
39
|
-
Vue({
|
|
40
|
-
template: { transformAssetUrls },
|
|
41
|
-
}),
|
|
42
|
-
// https://github.com/vuetifyjs/vuetify-loader/tree/master/packages/vite-plugin#readme
|
|
43
|
-
Vuetify({
|
|
44
|
-
autoImport: true,
|
|
45
|
-
styles: {
|
|
46
|
-
configFile: 'src/styles/settings.scss',
|
|
47
|
-
},
|
|
48
|
-
}),
|
|
49
|
-
Fonts({
|
|
50
|
-
fontsource: {
|
|
51
|
-
families: [
|
|
52
|
-
{
|
|
53
|
-
name: 'Roboto',
|
|
54
|
-
weights: [100, 300, 400, 500, 700, 900],
|
|
55
|
-
styles: ['normal', 'italic'],
|
|
56
|
-
},
|
|
57
|
-
],
|
|
58
|
-
},
|
|
59
|
-
}),
|
|
60
|
-
],
|
|
61
|
-
optimizeDeps: {
|
|
62
|
-
exclude: [
|
|
63
|
-
'vuetify',
|
|
64
|
-
'vue-router',
|
|
65
|
-
'unplugin-vue-router/runtime',
|
|
66
|
-
'unplugin-vue-router/data-loaders',
|
|
67
|
-
'unplugin-vue-router/data-loaders/basic',
|
|
68
|
-
],
|
|
69
|
-
},
|
|
70
|
-
define: { 'process.env': {} },
|
|
71
|
-
resolve: {
|
|
72
|
-
alias: {
|
|
73
|
-
'@': fileURLToPath(new URL('src', import.meta.url)),
|
|
74
|
-
},
|
|
75
|
-
extensions: [
|
|
76
|
-
'.js',
|
|
77
|
-
'.json',
|
|
78
|
-
'.jsx',
|
|
79
|
-
'.mjs',
|
|
80
|
-
'.ts',
|
|
81
|
-
'.tsx',
|
|
82
|
-
'.vue',
|
|
83
|
-
],
|
|
84
|
-
},
|
|
85
|
-
server: {
|
|
86
|
-
port: 3000,
|
|
87
|
-
},
|
|
88
|
-
})
|