create-vuetify 2.8.0 → 3.0.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.
- 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,90 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<v-container class="fill-height d-flex align-center" max-width="900">
|
|
3
|
-
<div>
|
|
4
|
-
<v-img
|
|
5
|
-
class="mb-4"
|
|
6
|
-
height="150"
|
|
7
|
-
src="@/assets/logo.png"
|
|
8
|
-
/>
|
|
9
|
-
|
|
10
|
-
<div class="mb-8 text-center">
|
|
11
|
-
<div class="text-body-2 font-weight-light mb-n1">Welcome to</div>
|
|
12
|
-
<h1 class="text-h2 my-0 font-weight-bold">Vuetify</h1>
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
|
-
<v-row>
|
|
16
|
-
<v-col cols="12">
|
|
17
|
-
<v-card
|
|
18
|
-
class="py-4"
|
|
19
|
-
color="surface-variant"
|
|
20
|
-
image="https://cdn.vuetifyjs.com/docs/images/one/create/feature.png"
|
|
21
|
-
prepend-icon="mdi-rocket-launch-outline"
|
|
22
|
-
rounded="lg"
|
|
23
|
-
variant="tonal"
|
|
24
|
-
>
|
|
25
|
-
<template #image>
|
|
26
|
-
<v-img position="top right" />
|
|
27
|
-
</template>
|
|
28
|
-
|
|
29
|
-
<template #title>
|
|
30
|
-
<h2 class="text-h5 font-weight-bold">
|
|
31
|
-
Get started
|
|
32
|
-
</h2>
|
|
33
|
-
</template>
|
|
34
|
-
|
|
35
|
-
<template #subtitle>
|
|
36
|
-
<div class="text-subtitle-1">
|
|
37
|
-
Change this page by updating <v-kbd>{{ `<HelloWorld />` }}</v-kbd> in <v-kbd>components/HelloWorld.vue</v-kbd>.
|
|
38
|
-
</div>
|
|
39
|
-
</template>
|
|
40
|
-
</v-card>
|
|
41
|
-
</v-col>
|
|
42
|
-
|
|
43
|
-
<v-col v-for="link in links" :key="link.href" cols="6">
|
|
44
|
-
<v-card
|
|
45
|
-
append-icon="mdi-open-in-new"
|
|
46
|
-
class="py-4"
|
|
47
|
-
color="surface-variant"
|
|
48
|
-
:href="link.href"
|
|
49
|
-
:prepend-icon="link.icon"
|
|
50
|
-
rel="noopener noreferrer"
|
|
51
|
-
rounded="lg"
|
|
52
|
-
:subtitle="link.subtitle"
|
|
53
|
-
target="_blank"
|
|
54
|
-
:title="link.title"
|
|
55
|
-
variant="tonal"
|
|
56
|
-
/>
|
|
57
|
-
</v-col>
|
|
58
|
-
</v-row>
|
|
59
|
-
</div>
|
|
60
|
-
</v-container>
|
|
61
|
-
</template>
|
|
62
|
-
|
|
63
|
-
<script setup lang="ts">
|
|
64
|
-
const links = [
|
|
65
|
-
{
|
|
66
|
-
href: 'https://vuetifyjs.com/',
|
|
67
|
-
icon: 'mdi-text-box-outline',
|
|
68
|
-
subtitle: 'Learn about all things Vuetify in our documentation.',
|
|
69
|
-
title: 'Documentation',
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
href: 'https://vuetifyjs.com/introduction/why-vuetify/#feature-guides',
|
|
73
|
-
icon: 'mdi-star-circle-outline',
|
|
74
|
-
subtitle: 'Explore available framework Features.',
|
|
75
|
-
title: 'Features',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
href: 'https://vuetifyjs.com/components/all',
|
|
79
|
-
icon: 'mdi-widgets-outline',
|
|
80
|
-
subtitle: 'Discover components in the API Explorer.',
|
|
81
|
-
title: 'Components',
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
href: 'https://discord.vuetifyjs.com',
|
|
85
|
-
icon: 'mdi-account-group-outline',
|
|
86
|
-
subtitle: 'Connect with Vuetify developers.',
|
|
87
|
-
title: 'Community',
|
|
88
|
-
},
|
|
89
|
-
]
|
|
90
|
-
</script>
|
|
@@ -1,18 +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 router from '../router'
|
|
10
|
-
|
|
11
|
-
// Types
|
|
12
|
-
import type { App } from 'vue'
|
|
13
|
-
|
|
14
|
-
export function registerPlugins (app: App) {
|
|
15
|
-
app
|
|
16
|
-
.use(vuetify)
|
|
17
|
-
.use(router)
|
|
18
|
-
}
|
|
@@ -1,35 +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 { routes } from 'vue-router/auto-routes'
|
|
10
|
-
|
|
11
|
-
const router = createRouter({
|
|
12
|
-
history: createWebHistory(import.meta.env.BASE_URL),
|
|
13
|
-
routes,
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
// Workaround for https://github.com/vitejs/vite/issues/11804
|
|
17
|
-
router.onError((err, to) => {
|
|
18
|
-
if (err?.message?.includes?.('Failed to fetch dynamically imported module')) {
|
|
19
|
-
if (localStorage.getItem('vuetify:dynamic-reload')) {
|
|
20
|
-
console.error('Dynamic import error, reloading page did not fix it', err)
|
|
21
|
-
} else {
|
|
22
|
-
console.log('Reloading page to fix dynamic import error')
|
|
23
|
-
localStorage.setItem('vuetify:dynamic-reload', 'true')
|
|
24
|
-
location.assign(to.fullPath)
|
|
25
|
-
}
|
|
26
|
-
} else {
|
|
27
|
-
console.error(err)
|
|
28
|
-
}
|
|
29
|
-
})
|
|
30
|
-
|
|
31
|
-
router.isReady().then(() => {
|
|
32
|
-
localStorage.removeItem('vuetify:dynamic-reload')
|
|
33
|
-
})
|
|
34
|
-
|
|
35
|
-
export default router
|
|
@@ -1,70 +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
|
-
import VueRouter from 'unplugin-vue-router/vite'
|
|
7
|
-
|
|
8
|
-
// Utilities
|
|
9
|
-
import { defineConfig } from 'vite'
|
|
10
|
-
import { fileURLToPath, URL } from 'node:url'
|
|
11
|
-
|
|
12
|
-
// https://vitejs.dev/config/
|
|
13
|
-
export default defineConfig({
|
|
14
|
-
plugins: [
|
|
15
|
-
VueRouter({
|
|
16
|
-
dts: 'src/typed-router.d.ts',
|
|
17
|
-
}),
|
|
18
|
-
Vue({
|
|
19
|
-
template: { transformAssetUrls },
|
|
20
|
-
}),
|
|
21
|
-
// https://github.com/vuetifyjs/vuetify-loader/tree/master/packages/vite-plugin#readme
|
|
22
|
-
Vuetify({
|
|
23
|
-
autoImport: true,
|
|
24
|
-
styles: {
|
|
25
|
-
configFile: 'src/styles/settings.scss',
|
|
26
|
-
},
|
|
27
|
-
}),
|
|
28
|
-
Components({
|
|
29
|
-
dts: 'src/components.d.ts',
|
|
30
|
-
}),
|
|
31
|
-
Fonts({
|
|
32
|
-
fontsource: {
|
|
33
|
-
families: [
|
|
34
|
-
{
|
|
35
|
-
name: 'Roboto',
|
|
36
|
-
weights: [100, 300, 400, 500, 700, 900],
|
|
37
|
-
styles: ['normal', 'italic'],
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
},
|
|
41
|
-
}),
|
|
42
|
-
],
|
|
43
|
-
optimizeDeps: {
|
|
44
|
-
exclude: [
|
|
45
|
-
'vuetify',
|
|
46
|
-
'vue-router',
|
|
47
|
-
'unplugin-vue-router/runtime',
|
|
48
|
-
'unplugin-vue-router/data-loaders',
|
|
49
|
-
'unplugin-vue-router/data-loaders/basic',
|
|
50
|
-
],
|
|
51
|
-
},
|
|
52
|
-
define: { 'process.env': {} },
|
|
53
|
-
resolve: {
|
|
54
|
-
alias: {
|
|
55
|
-
'@': fileURLToPath(new URL('src', import.meta.url)),
|
|
56
|
-
},
|
|
57
|
-
extensions: [
|
|
58
|
-
'.js',
|
|
59
|
-
'.json',
|
|
60
|
-
'.jsx',
|
|
61
|
-
'.mjs',
|
|
62
|
-
'.ts',
|
|
63
|
-
'.tsx',
|
|
64
|
-
'.vue',
|
|
65
|
-
],
|
|
66
|
-
},
|
|
67
|
-
server: {
|
|
68
|
-
port: 3000,
|
|
69
|
-
},
|
|
70
|
-
})
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
# Vuetify (Default)
|
|
2
|
-
|
|
3
|
-
This is the official scaffolding tool for Vuetify, designed to give you a head start in building your new Vuetify application. It sets up a base template with all the necessary configurations and standard directory structure, enabling you to begin development without the hassle of setting up the project from scratch.
|
|
4
|
-
|
|
5
|
-
## ❗️ Important Links
|
|
6
|
-
|
|
7
|
-
- 📄 [Docs](https://vuetifyjs.com/)
|
|
8
|
-
- 🚨 [Issues](https://issues.vuetifyjs.com/)
|
|
9
|
-
- 🏬 [Store](https://store.vuetifyjs.com/)
|
|
10
|
-
- 🎮 [Playground](https://play.vuetifyjs.com/)
|
|
11
|
-
- 💬 [Discord](https://community.vuetifyjs.com)
|
|
12
|
-
|
|
13
|
-
## 💿 Install
|
|
14
|
-
|
|
15
|
-
Set up your project using your preferred package manager. Use the corresponding command to install the dependencies:
|
|
16
|
-
|
|
17
|
-
| Package Manager | Command |
|
|
18
|
-
|---------------------------------------------------------------|----------------|
|
|
19
|
-
| [yarn](https://yarnpkg.com/getting-started) | `yarn install` |
|
|
20
|
-
| [npm](https://docs.npmjs.com/cli/v7/commands/npm-install) | `npm install` |
|
|
21
|
-
| [pnpm](https://pnpm.io/installation) | `pnpm install` |
|
|
22
|
-
| [bun](https://bun.sh/#getting-started) | `bun install` |
|
|
23
|
-
|
|
24
|
-
After completing the installation, your environment is ready for Vuetify development.
|
|
25
|
-
|
|
26
|
-
## ✨ Features
|
|
27
|
-
|
|
28
|
-
- 🖼️ **Optimized Front-End Stack**: Leverage the latest Vue 3 and Vuetify {{VUETIFY_VERSION}} for a modern, reactive UI development experience. [Vue 3](https://v3.vuejs.org/) | [Vuetify {{VUETIFY_VERSION}}](https://vuetifyjs.com/en/)
|
|
29
|
-
- 🗃️ **State Management**: Integrated with [Pinia](https://pinia.vuejs.org/), the intuitive, modular state management solution for Vue.
|
|
30
|
-
- 🚦 **Routing and Layouts**: Utilizes Vue Router for SPA navigation and vite-plugin-vue-layouts-next for organizing Vue file layouts. [Vue Router](https://router.vuejs.org/) | [vite-plugin-vue-layouts-next](https://github.com/loicduong/vite-plugin-vue-layouts-next)
|
|
31
|
-
- 💻 **Enhanced Development Experience**: Benefit from TypeScript's static type checking and the ESLint plugin suite for Vue, ensuring code quality and consistency. [TypeScript](https://www.typescriptlang.org/) | [ESLint Plugin Vue](https://eslint.vuejs.org/)
|
|
32
|
-
- ⚡ **Next-Gen Tooling**: Powered by Vite, experience fast cold starts and instant HMR (Hot Module Replacement). [Vite](https://vitejs.dev/)
|
|
33
|
-
- 🧩 **Automated Component Importing**: Streamline your workflow with unplugin-vue-components, automatically importing components as you use them. [unplugin-vue-components](https://github.com/antfu/unplugin-vue-components)
|
|
34
|
-
- 🛠️ **Strongly-Typed Vue**: Use vue-tsc for type-checking your Vue components, and enjoy a robust development experience. [vue-tsc](https://github.com/johnsoncodehk/volar/tree/master/packages/vue-tsc)
|
|
35
|
-
|
|
36
|
-
These features are curated to provide a seamless development experience from setup to deployment, ensuring that your Vuetify application is both powerful and maintainable.
|
|
37
|
-
|
|
38
|
-
## 💡 Usage
|
|
39
|
-
|
|
40
|
-
This section covers how to start the development server and build your project for production.
|
|
41
|
-
|
|
42
|
-
### Starting the Development Server
|
|
43
|
-
|
|
44
|
-
To start the development server with hot-reload, run the following command. The server will be accessible at [http://localhost:3000](http://localhost:3000):
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
yarn dev
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
(Repeat for npm, pnpm, and bun with respective commands.)
|
|
51
|
-
|
|
52
|
-
> Add NODE_OPTIONS='--no-warnings' to suppress the JSON import warnings that happen as part of the Vuetify import mapping. If you are on Node [v21.3.0](https://nodejs.org/en/blog/release/v21.3.0) or higher, you can change this to NODE_OPTIONS='--disable-warning=5401'. If you don't mind the warning, you can remove this from your package.json dev script.
|
|
53
|
-
|
|
54
|
-
### Building for Production
|
|
55
|
-
|
|
56
|
-
To build your project for production, use:
|
|
57
|
-
|
|
58
|
-
```bash
|
|
59
|
-
yarn build
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
(Repeat for npm, pnpm, and bun with respective commands.)
|
|
63
|
-
|
|
64
|
-
Once the build process is completed, your application will be ready for deployment in a production environment.
|
|
65
|
-
|
|
66
|
-
## 💪 Support Vuetify Development
|
|
67
|
-
|
|
68
|
-
This project is built with [Vuetify](https://vuetifyjs.com/en/), a UI Library with a comprehensive collection of Vue components. Vuetify is an MIT licensed Open Source project that has been made possible due to the generous contributions by our [sponsors and backers](https://vuetifyjs.com/introduction/sponsors-and-backers/). If you are interested in supporting this project, please consider:
|
|
69
|
-
|
|
70
|
-
- [Requesting Enterprise Support](https://support.vuetifyjs.com/)
|
|
71
|
-
- [Sponsoring John on Github](https://github.com/users/johnleider/sponsorship)
|
|
72
|
-
- [Sponsoring Kael on Github](https://github.com/users/kaelwd/sponsorship)
|
|
73
|
-
- [Supporting the team on Open Collective](https://opencollective.com/vuetify)
|
|
74
|
-
- [Becoming a sponsor on Patreon](https://www.patreon.com/vuetify)
|
|
75
|
-
- [Becoming a subscriber on Tidelift](https://tidelift.com/subscription/npm/vuetify)
|
|
76
|
-
- [Making a one-time donation with Paypal](https://paypal.me/vuetify)
|
|
77
|
-
|
|
78
|
-
## 📑 License
|
|
79
|
-
[MIT](http://opensource.org/licenses/MIT)
|
|
80
|
-
|
|
81
|
-
Copyright (c) 2016-present Vuetify, LLC
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
.DS_Store
|
|
2
|
-
node_modules
|
|
3
|
-
/dist
|
|
4
|
-
|
|
5
|
-
# local env files
|
|
6
|
-
.env.local
|
|
7
|
-
.env.*.local
|
|
8
|
-
|
|
9
|
-
# Log files
|
|
10
|
-
npm-debug.log*
|
|
11
|
-
yarn-debug.log*
|
|
12
|
-
yarn-error.log*
|
|
13
|
-
pnpm-debug.log*
|
|
14
|
-
|
|
15
|
-
# Editor directories and files
|
|
16
|
-
.idea
|
|
17
|
-
.vscode
|
|
18
|
-
*.suo
|
|
19
|
-
*.ntvs*
|
|
20
|
-
*.njsproj
|
|
21
|
-
*.sln
|
|
22
|
-
*.sw?
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<link rel="icon" href="/favicon.ico">
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
-
<title>Welcome to Vuetify {{VUETIFY_VERSION}}</title>
|
|
8
|
-
</head>
|
|
9
|
-
<body>
|
|
10
|
-
<div id="app"></div>
|
|
11
|
-
<script type="module" src="/src/main.ts"></script>
|
|
12
|
-
</body>
|
|
13
|
-
</html>
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"private": true,
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "0.0.0",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"dev": "vite",
|
|
7
|
-
"build": "run-p type-check \"build-only {@}\" --",
|
|
8
|
-
"preview": "vite preview",
|
|
9
|
-
"build-only": "vite build",
|
|
10
|
-
"type-check": "vue-tsc --build --force"
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"@mdi/font": "7.4.47",
|
|
14
|
-
"@fontsource/roboto": "5.2.7",
|
|
15
|
-
"vue": "^3.5.28",
|
|
16
|
-
"vuetify": "^3.11.8"
|
|
17
|
-
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"@tsconfig/node22": "^22.0.0",
|
|
20
|
-
"@types/node": "^22.9.0",
|
|
21
|
-
"@vitejs/plugin-vue": "^6.0.1",
|
|
22
|
-
"@vue/tsconfig": "^0.8.1",
|
|
23
|
-
"npm-run-all2": "^8.0.4",
|
|
24
|
-
"sass-embedded": "^1.92.1",
|
|
25
|
-
"typescript": "~5.9.2",
|
|
26
|
-
"unplugin-fonts": "^1.4.0",
|
|
27
|
-
"unplugin-vue-components": "^29.0.0",
|
|
28
|
-
"vite-plugin-vuetify": "^2.1.3",
|
|
29
|
-
"vite": "^7.1.5",
|
|
30
|
-
"vue-tsc": "^3.2.0"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M261.126 140.65L164.624 307.732L256.001 466L377.028 256.5L498.001 47H315.192L261.126 140.65Z" fill="#1697F6"/>
|
|
3
|
-
<path d="M135.027 256.5L141.365 267.518L231.64 111.178L268.731 47H256H14L135.027 256.5Z" fill="#AEDDFF"/>
|
|
4
|
-
<path d="M315.191 47C360.935 197.446 256 466 256 466L164.624 307.732L315.191 47Z" fill="#1867C0"/>
|
|
5
|
-
<path d="M268.731 47C76.0026 47 141.366 267.518 141.366 267.518L268.731 47Z" fill="#7BC6FF"/>
|
|
6
|
-
</svg>
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<v-container class="fill-height d-flex align-center" max-width="900">
|
|
3
|
-
<div>
|
|
4
|
-
<v-img
|
|
5
|
-
class="mb-4"
|
|
6
|
-
height="150"
|
|
7
|
-
src="@/assets/logo.png"
|
|
8
|
-
/>
|
|
9
|
-
|
|
10
|
-
<div class="mb-8 text-center">
|
|
11
|
-
<div class="text-body-2 font-weight-light mb-n1">Welcome to</div>
|
|
12
|
-
<h1 class="text-h2 my-0 font-weight-bold">Vuetify</h1>
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
|
-
<v-row>
|
|
16
|
-
<v-col cols="12">
|
|
17
|
-
<v-card
|
|
18
|
-
class="py-4"
|
|
19
|
-
color="surface-variant"
|
|
20
|
-
image="https://cdn.vuetifyjs.com/docs/images/one/create/feature.png"
|
|
21
|
-
prepend-icon="mdi-rocket-launch-outline"
|
|
22
|
-
rounded="lg"
|
|
23
|
-
variant="tonal"
|
|
24
|
-
>
|
|
25
|
-
<template #image>
|
|
26
|
-
<v-img position="top right" />
|
|
27
|
-
</template>
|
|
28
|
-
|
|
29
|
-
<template #title>
|
|
30
|
-
<h2 class="text-h5 font-weight-bold">
|
|
31
|
-
Get started
|
|
32
|
-
</h2>
|
|
33
|
-
</template>
|
|
34
|
-
|
|
35
|
-
<template #subtitle>
|
|
36
|
-
<div class="text-subtitle-1">
|
|
37
|
-
Change this page by updating <v-kbd>{{ `<HelloWorld />` }}</v-kbd> in <v-kbd>components/HelloWorld.vue</v-kbd>.
|
|
38
|
-
</div>
|
|
39
|
-
</template>
|
|
40
|
-
</v-card>
|
|
41
|
-
</v-col>
|
|
42
|
-
|
|
43
|
-
<v-col v-for="link in links" :key="link.href" cols="6">
|
|
44
|
-
<v-card
|
|
45
|
-
append-icon="mdi-open-in-new"
|
|
46
|
-
class="py-4"
|
|
47
|
-
color="surface-variant"
|
|
48
|
-
:href="link.href"
|
|
49
|
-
:prepend-icon="link.icon"
|
|
50
|
-
rel="noopener noreferrer"
|
|
51
|
-
rounded="lg"
|
|
52
|
-
:subtitle="link.subtitle"
|
|
53
|
-
target="_blank"
|
|
54
|
-
:title="link.title"
|
|
55
|
-
variant="tonal"
|
|
56
|
-
/>
|
|
57
|
-
</v-col>
|
|
58
|
-
</v-row>
|
|
59
|
-
</div>
|
|
60
|
-
</v-container>
|
|
61
|
-
</template>
|
|
62
|
-
|
|
63
|
-
<script setup lang="ts">
|
|
64
|
-
const links = [
|
|
65
|
-
{
|
|
66
|
-
href: 'https://vuetifyjs.com/',
|
|
67
|
-
icon: 'mdi-text-box-outline',
|
|
68
|
-
subtitle: 'Learn about all things Vuetify in our documentation.',
|
|
69
|
-
title: 'Documentation',
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
href: 'https://vuetifyjs.com/introduction/why-vuetify/#feature-guides',
|
|
73
|
-
icon: 'mdi-star-circle-outline',
|
|
74
|
-
subtitle: 'Explore available framework Features.',
|
|
75
|
-
title: 'Features',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
href: 'https://vuetifyjs.com/components/all',
|
|
79
|
-
icon: 'mdi-widgets-outline',
|
|
80
|
-
subtitle: 'Discover components in the API Explorer.',
|
|
81
|
-
title: 'Components',
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
href: 'https://discord.vuetifyjs.com',
|
|
85
|
-
icon: 'mdi-account-group-outline',
|
|
86
|
-
subtitle: 'Connect with Vuetify developers.',
|
|
87
|
-
title: 'Community',
|
|
88
|
-
},
|
|
89
|
-
]
|
|
90
|
-
</script>
|
|
@@ -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,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
|
-
}
|