create-vuetify 2.8.0-beta.1 → 3.0.12-beta-next.1

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.
Files changed (117) hide show
  1. package/README.md +21 -65
  2. package/dist/index.mjs +32794 -2210
  3. package/dist/multipart-parser-BDbtnXsM.mjs +175 -0
  4. package/dist/node-CLMJD8D0.mjs +4005 -0
  5. package/dist/prompt-C6GjoyNB.mjs +848 -0
  6. package/package.json +29 -59
  7. package/src/commands/upgrade.ts +5 -0
  8. package/src/index.ts +40 -0
  9. package/test/index.test.ts +117 -0
  10. package/tsdown.config.ts +7 -0
  11. package/bin/index.js +0 -3
  12. package/template/javascript/base/eslint.config.js +0 -3
  13. package/template/javascript/base/package.json +0 -13
  14. package/template/javascript/base/src/App.vue +0 -11
  15. package/template/javascript/base/src/components/HelloWorld.vue +0 -90
  16. package/template/javascript/base/src/pages/README.md +0 -5
  17. package/template/javascript/base/src/pages/index.vue +0 -7
  18. package/template/javascript/base/src/plugins/index.js +0 -15
  19. package/template/javascript/base/src/router/index.js +0 -35
  20. package/template/javascript/base/src/styles/README.md +0 -3
  21. package/template/javascript/base/src/styles/settings.scss +0 -10
  22. package/template/javascript/base/vite.config.mjs +0 -66
  23. package/template/javascript/default/.vscode/extensions.json +0 -3
  24. package/template/javascript/default/.vscode/settings.json +0 -3
  25. package/template/javascript/default/README.md +0 -79
  26. package/template/javascript/default/_browserslistrc +0 -4
  27. package/template/javascript/default/_editorconfig +0 -5
  28. package/template/javascript/default/_gitignore +0 -22
  29. package/template/javascript/default/index.html +0 -13
  30. package/template/javascript/default/jsconfig.json +0 -20
  31. package/template/javascript/default/package.json +0 -24
  32. package/template/javascript/default/public/favicon.ico +0 -0
  33. package/template/javascript/default/src/App.vue +0 -13
  34. package/template/javascript/default/src/assets/logo.png +0 -0
  35. package/template/javascript/default/src/assets/logo.svg +0 -6
  36. package/template/javascript/default/src/components/AppFooter.vue +0 -82
  37. package/template/javascript/default/src/components/HelloWorld.vue +0 -90
  38. package/template/javascript/default/src/components/README.md +0 -35
  39. package/template/javascript/default/src/main.js +0 -23
  40. package/template/javascript/default/src/plugins/README.md +0 -3
  41. package/template/javascript/default/src/plugins/index.js +0 -12
  42. package/template/javascript/default/src/plugins/vuetify.js +0 -19
  43. package/template/javascript/default/vite.config.mjs +0 -53
  44. package/template/javascript/essentials/_eslintrc-auto-import.json +0 -82
  45. package/template/javascript/essentials/package.json +0 -9
  46. package/template/javascript/essentials/src/App.vue +0 -9
  47. package/template/javascript/essentials/src/layouts/README.md +0 -5
  48. package/template/javascript/essentials/src/layouts/default.vue +0 -11
  49. package/template/javascript/essentials/src/plugins/index.js +0 -17
  50. package/template/javascript/essentials/src/router/index.js +0 -36
  51. package/template/javascript/essentials/src/stores/README.md +0 -5
  52. package/template/javascript/essentials/src/stores/app.js +0 -8
  53. package/template/javascript/essentials/src/stores/index.js +0 -4
  54. package/template/javascript/essentials/vite.config.mjs +0 -80
  55. package/template/typescript/base/env.d.ts +0 -2
  56. package/template/typescript/base/eslint.config.js +0 -3
  57. package/template/typescript/base/package.json +0 -13
  58. package/template/typescript/base/src/App.vue +0 -11
  59. package/template/typescript/base/src/components/HelloWorld.vue +0 -90
  60. package/template/typescript/base/src/pages/README.md +0 -5
  61. package/template/typescript/base/src/pages/index.vue +0 -7
  62. package/template/typescript/base/src/plugins/index.ts +0 -18
  63. package/template/typescript/base/src/router/index.ts +0 -35
  64. package/template/typescript/base/src/styles/README.md +0 -3
  65. package/template/typescript/base/src/styles/settings.scss +0 -10
  66. package/template/typescript/base/vite.config.mts +0 -70
  67. package/template/typescript/default/.vscode/extensions.json +0 -3
  68. package/template/typescript/default/.vscode/settings.json +0 -3
  69. package/template/typescript/default/README.md +0 -81
  70. package/template/typescript/default/_browserslistrc +0 -4
  71. package/template/typescript/default/_editorconfig +0 -6
  72. package/template/typescript/default/_gitignore +0 -22
  73. package/template/typescript/default/env.d.ts +0 -1
  74. package/template/typescript/default/index.html +0 -13
  75. package/template/typescript/default/package.json +0 -32
  76. package/template/typescript/default/public/favicon.ico +0 -0
  77. package/template/typescript/default/src/App.vue +0 -11
  78. package/template/typescript/default/src/assets/logo.png +0 -0
  79. package/template/typescript/default/src/assets/logo.svg +0 -6
  80. package/template/typescript/default/src/components/HelloWorld.vue +0 -90
  81. package/template/typescript/default/src/components/README.md +0 -35
  82. package/template/typescript/default/src/main.ts +0 -23
  83. package/template/typescript/default/src/plugins/README.md +0 -3
  84. package/template/typescript/default/src/plugins/index.ts +0 -15
  85. package/template/typescript/default/src/plugins/vuetify.ts +0 -19
  86. package/template/typescript/default/tsconfig.app.json +0 -14
  87. package/template/typescript/default/tsconfig.json +0 -11
  88. package/template/typescript/default/tsconfig.node.json +0 -19
  89. package/template/typescript/default/vite.config.mts +0 -53
  90. package/template/typescript/essentials/_eslintrc-auto-import.json +0 -82
  91. package/template/typescript/essentials/env.d.ts +0 -3
  92. package/template/typescript/essentials/package.json +0 -9
  93. package/template/typescript/essentials/src/App.vue +0 -9
  94. package/template/typescript/essentials/src/auto-imports.d.ts +0 -147
  95. package/template/typescript/essentials/src/components/AppFooter.vue +0 -82
  96. package/template/typescript/essentials/src/components.d.ts +0 -14
  97. package/template/typescript/essentials/src/layouts/README.md +0 -5
  98. package/template/typescript/essentials/src/layouts/default.vue +0 -11
  99. package/template/typescript/essentials/src/plugins/index.ts +0 -20
  100. package/template/typescript/essentials/src/router/index.ts +0 -36
  101. package/template/typescript/essentials/src/stores/README.md +0 -5
  102. package/template/typescript/essentials/src/stores/app.ts +0 -8
  103. package/template/typescript/essentials/src/stores/index.ts +0 -4
  104. package/template/typescript/essentials/src/typed-router.d.ts +0 -23
  105. package/template/typescript/essentials/vite.config.mts +0 -88
  106. package/template/typescript/nuxt/app-layout.vue +0 -5
  107. package/template/typescript/nuxt/app.vue +0 -9
  108. package/template/typescript/nuxt/assets/logo.png +0 -0
  109. package/template/typescript/nuxt/assets/logo.svg +0 -6
  110. package/template/typescript/nuxt/components/AppFooter.vue +0 -82
  111. package/template/typescript/nuxt/components/HelloWorld.vue +0 -90
  112. package/template/typescript/nuxt/layouts/default.vue +0 -9
  113. package/template/typescript/nuxt/modules/vuetify.ts +0 -137
  114. package/template/typescript/nuxt/pages/index.vue +0 -7
  115. package/template/typescript/nuxt/plugins/vuetify-nuxt.ts +0 -8
  116. package/template/typescript/nuxt/plugins/vuetify.ts +0 -14
  117. package/template/typescript/nuxt/vuetify.config.ts +0 -8
@@ -1,35 +0,0 @@
1
- # Components
2
-
3
- Vue template files in this folder are automatically imported.
4
-
5
- ## 🚀 Usage
6
-
7
- Importing is handled by [unplugin-vue-components](https://github.com/unplugin/unplugin-vue-components). This plugin automatically imports `.vue` files created in the `src/components` directory, and registers them as global components. This means that you can use any component in your application without having to manually import it.
8
-
9
- The following example assumes a component located at `src/components/MyComponent.vue`:
10
-
11
- ```vue
12
- <template>
13
- <div>
14
- <MyComponent />
15
- </div>
16
- </template>
17
-
18
- <script lang="ts" setup>
19
- //
20
- </script>
21
- ```
22
-
23
- When your template is rendered, the component's import will automatically be inlined, which renders to this:
24
-
25
- ```vue
26
- <template>
27
- <div>
28
- <MyComponent />
29
- </div>
30
- </template>
31
-
32
- <script lang="ts" setup>
33
- import MyComponent from '@/components/MyComponent.vue'
34
- </script>
35
- ```
@@ -1,23 +0,0 @@
1
- /**
2
- * main.ts
3
- *
4
- * Bootstraps Vuetify and other plugins then mounts the App`
5
- */
6
-
7
- // Plugins
8
- import { registerPlugins } from '@/plugins'
9
-
10
- // Components
11
- import App from './App.vue'
12
-
13
- // Composables
14
- import { createApp } from 'vue'
15
-
16
- // Styles
17
- import 'unfonts.css'
18
-
19
- const app = createApp(App)
20
-
21
- registerPlugins(app)
22
-
23
- app.mount('#app')
@@ -1,3 +0,0 @@
1
- # Plugins
2
-
3
- Plugins are a way to extend the functionality of your Vue application. Use this folder for registering plugins that you want to use globally.
@@ -1,15 +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
-
10
- // Types
11
- import type { App } from 'vue'
12
-
13
- export function registerPlugins (app: App) {
14
- app.use(vuetify)
15
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * plugins/vuetify.ts
3
- *
4
- * Framework documentation: https://vuetifyjs.com`
5
- */
6
-
7
- // Styles
8
- import '@mdi/font/css/materialdesignicons.css'
9
- import 'vuetify/styles'
10
-
11
- // Composables
12
- import { createVuetify } from 'vuetify'
13
-
14
- // https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides
15
- export default createVuetify({
16
- theme: {
17
- defaultTheme: 'system',
18
- },
19
- })
@@ -1,14 +0,0 @@
1
- {
2
- "extends": "@vue/tsconfig/tsconfig.dom.json",
3
- "include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
4
- "exclude": ["src/**/__tests__/*"],
5
- "compilerOptions": {
6
- "composite": true,
7
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
8
-
9
- "baseUrl": ".",
10
- "paths": {
11
- "@/*": ["./src/*"]
12
- }
13
- }
14
- }
@@ -1,11 +0,0 @@
1
- {
2
- "files": [],
3
- "references": [
4
- {
5
- "path": "./tsconfig.node.json"
6
- },
7
- {
8
- "path": "./tsconfig.app.json"
9
- }
10
- ]
11
- }
@@ -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,3 +0,0 @@
1
- /// <reference types="vite/client" />
2
- /// <reference types="unplugin-vue-router/client" />
3
- /// <reference types="vite-plugin-vue-layouts-next/client" />
@@ -1,9 +0,0 @@
1
- {
2
- "dependencies": {
3
- "pinia" : "^3.0.3"
4
- },
5
- "devDependencies": {
6
- "unplugin-auto-import": "^20.1.0",
7
- "vite-plugin-vue-layouts-next": "^1.0.0"
8
- }
9
- }
@@ -1,9 +0,0 @@
1
- <template>
2
- <v-app>
3
- <router-view />
4
- </v-app>
5
- </template>
6
-
7
- <script lang="ts" setup>
8
- //
9
- </script>
@@ -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
- &copy; 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,11 +0,0 @@
1
- <template>
2
- <v-main>
3
- <router-view />
4
- </v-main>
5
-
6
- <AppFooter />
7
- </template>
8
-
9
- <script lang="ts" setup>
10
- //
11
- </script>
@@ -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,5 +0,0 @@
1
- # Store
2
-
3
- Pinia stores are used to store reactive state and expose actions to mutate it.
4
-
5
- Full documentation for this feature can be found in the Official [Pinia](https://pinia.esm.dev/) repository.
@@ -1,8 +0,0 @@
1
- // Utilities
2
- import { defineStore } from 'pinia'
3
-
4
- export const useAppStore = defineStore('app', {
5
- state: () => ({
6
- //
7
- }),
8
- })
@@ -1,4 +0,0 @@
1
- // Utilities
2
- import { createPinia } from 'pinia'
3
-
4
- export default createPinia()