create-vuetify 1.0.3 → 1.0.5

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 (72) hide show
  1. package/README.md +4 -5
  2. package/dist/output.cjs +187 -84
  3. package/package.json +1 -1
  4. package/template/javascript/base/package.json +4 -4
  5. package/template/javascript/base/src/components/HelloWorld.vue +1 -1
  6. package/template/javascript/base/src/main.js +1 -6
  7. package/template/javascript/base/src/plugins/index.js +7 -1
  8. package/template/javascript/base/vite.config.js +4 -2
  9. package/template/javascript/custom/eslint/_eslintrc.js +10 -0
  10. package/template/javascript/custom/eslint/package.json +9 -0
  11. package/template/javascript/custom/router/package.json +5 -0
  12. package/template/javascript/custom/router/src/App.vue +7 -0
  13. package/template/javascript/custom/router/src/layouts/default/Default.vue +9 -0
  14. package/template/javascript/custom/router/src/layouts/default/View.vue +9 -0
  15. package/template/javascript/custom/router/src/plugins/index.js +17 -0
  16. package/template/javascript/custom/router/src/router/index.js +26 -0
  17. package/template/javascript/custom/router/src/views/Home.vue +7 -0
  18. package/template/javascript/custom/router-pinia/src/plugins/index.js +19 -0
  19. package/template/javascript/custom/store/package.json +5 -0
  20. package/template/javascript/custom/store/src/plugins/index.js +17 -0
  21. package/template/javascript/custom/store/src/store/app.js +8 -0
  22. package/template/javascript/custom/store/src/store/index.js +4 -0
  23. package/template/javascript/default/package.json +2 -2
  24. package/template/javascript/default/src/components/HelloWorld.vue +1 -1
  25. package/template/javascript/default/src/main.js +1 -4
  26. package/template/javascript/default/src/plugins/index.js +4 -2
  27. package/template/javascript/default/vite.config.js +4 -2
  28. package/template/javascript/essentials/package.json +4 -4
  29. package/template/javascript/essentials/src/components/HelloWorld.vue +1 -1
  30. package/template/javascript/essentials/src/main.js +1 -8
  31. package/template/javascript/essentials/src/plugins/index.js +9 -1
  32. package/template/javascript/essentials/vite.config.js +4 -2
  33. package/template/typescript/base/package.json +6 -3
  34. package/template/typescript/base/src/components/HelloWorld.vue +1 -1
  35. package/template/typescript/base/src/main.ts +1 -6
  36. package/template/typescript/base/src/plugins/index.ts +10 -1
  37. package/template/typescript/base/src/vite-env.d.ts +7 -0
  38. package/template/typescript/base/tsconfig.json +14 -17
  39. package/template/typescript/base/tsconfig.node.json +9 -0
  40. package/template/typescript/base/vite.config.ts +4 -2
  41. package/template/typescript/custom/eslint/_eslintrc.js +14 -0
  42. package/template/typescript/custom/eslint/package.json +10 -0
  43. package/template/typescript/custom/router/package.json +5 -0
  44. package/template/typescript/custom/router/src/layouts/default/Default.vue +9 -0
  45. package/template/typescript/custom/router/src/layouts/default/View.vue +9 -0
  46. package/template/typescript/custom/router/src/plugins/index.ts +20 -0
  47. package/template/typescript/custom/router/src/router/index.ts +26 -0
  48. package/template/typescript/custom/router/src/views/Home.vue +7 -0
  49. package/template/typescript/custom/router-pinia/src/plugins/index.ts +22 -0
  50. package/template/typescript/custom/store/package.json +5 -0
  51. package/template/typescript/custom/store/src/plugins/index.ts +20 -0
  52. package/template/typescript/custom/store/src/store/app.ts +8 -0
  53. package/template/typescript/custom/store/src/store/index.ts +4 -0
  54. package/template/typescript/default/package.json +3 -1
  55. package/template/typescript/default/src/components/HelloWorld.vue +1 -1
  56. package/template/typescript/default/src/main.ts +1 -4
  57. package/template/typescript/default/src/plugins/index.ts +7 -2
  58. package/template/typescript/default/src/vite-env.d.ts +7 -0
  59. package/template/typescript/default/tsconfig.json +14 -17
  60. package/template/typescript/default/tsconfig.node.json +9 -0
  61. package/template/typescript/default/vite.config.ts +4 -2
  62. package/template/typescript/essentials/package.json +6 -4
  63. package/template/typescript/essentials/src/components/HelloWorld.vue +1 -1
  64. package/template/typescript/essentials/src/main.ts +1 -8
  65. package/template/typescript/essentials/src/plugins/index.ts +12 -1
  66. package/template/typescript/essentials/src/vite-env.d.ts +7 -0
  67. package/template/typescript/essentials/tsconfig.json +4 -1
  68. package/template/typescript/essentials/tsconfig.node.json +9 -0
  69. package/template/typescript/essentials/vite.config.ts +4 -2
  70. package/template/typescript/base/env.d.ts +0 -1
  71. package/template/typescript/default/env.d.ts +0 -1
  72. package/template/typescript/essentials/env.d.ts +0 -1
@@ -12,12 +12,9 @@ import { createApp } from 'vue'
12
12
 
13
13
  // Plugins
14
14
  import { registerPlugins } from '@/plugins'
15
- import vuetify from './plugins/vuetify'
16
15
 
17
16
  const app = createApp(App)
18
17
 
19
18
  registerPlugins(app)
20
19
 
21
- app
22
- .use(vuetify)
23
- .mount('#app')
20
+ app.mount('#app')
@@ -4,9 +4,11 @@
4
4
  * Automatically included in `./src/main.js`
5
5
  */
6
6
 
7
+ // Plugins
7
8
  import { loadFonts } from './webfontloader'
9
+ import vuetify from './vuetify'
8
10
 
9
- export function registerPlugins () {
11
+ export function registerPlugins (app) {
10
12
  loadFonts()
13
+ app.use(vuetify)
11
14
  }
12
-
@@ -1,6 +1,6 @@
1
1
  // Plugins
2
2
  import vue from '@vitejs/plugin-vue'
3
- import vuetify from 'vite-plugin-vuetify'
3
+ import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
4
4
 
5
5
  // Utilities
6
6
  import { defineConfig } from 'vite'
@@ -9,7 +9,9 @@ import { fileURLToPath, URL } from 'node:url'
9
9
  // https://vitejs.dev/config/
10
10
  export default defineConfig({
11
11
  plugins: [
12
- vue(),
12
+ vue({
13
+ template: { transformAssetUrls }
14
+ }),
13
15
  // https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin
14
16
  vuetify({
15
17
  autoImport: true,
@@ -8,13 +8,13 @@
8
8
  "lint": "eslint . --fix --ignore-path .gitignore"
9
9
  },
10
10
  "dependencies": {
11
- "@mdi/font": "5.9.55",
11
+ "@mdi/font": "7.0.96",
12
12
  "core-js": "^3.8.3",
13
13
  "pinia": "^2.0.23",
14
14
  "roboto-fontface": "*",
15
15
  "vue": "^3.2.13",
16
- "vue-router": "^4.0.0-0",
17
- "vuetify": "^3.0.0-beta.0",
16
+ "vue-router": "^4.0.0",
17
+ "vuetify": "^3.0.0",
18
18
  "webfontloader": "^1.0.0"
19
19
  },
20
20
  "devDependencies": {
@@ -22,7 +22,7 @@
22
22
  "eslint": "^8.22.0",
23
23
  "eslint-plugin-vue": "^9.3.0",
24
24
  "sass": "^1.55.0",
25
- "vite": "^3.1.8",
25
+ "vite": "^3.1.9",
26
26
  "vite-plugin-vuetify": "^1.0.0-alpha.12"
27
27
  }
28
28
  }
@@ -4,7 +4,7 @@
4
4
  <v-img
5
5
  contain
6
6
  height="300"
7
- src="src/assets/logo.svg"
7
+ src="@/assets/logo.svg"
8
8
  />
9
9
 
10
10
  <div class="text-body-2 font-weight-light mb-n1">Welcome to</div>
@@ -12,16 +12,9 @@ import { createApp } from 'vue'
12
12
 
13
13
  // Plugins
14
14
  import { registerPlugins } from '@/plugins'
15
- import vuetify from './plugins/vuetify'
16
- import pinia from './store'
17
- import router from './router'
18
15
 
19
16
  const app = createApp(App)
20
17
 
21
18
  registerPlugins(app)
22
19
 
23
- app
24
- .use(vuetify)
25
- .use(router)
26
- .use(pinia)
27
- .mount('#app')
20
+ app.mount('#app')
@@ -4,8 +4,16 @@
4
4
  * Automatically included in `./src/main.js`
5
5
  */
6
6
 
7
+ // Plugins
7
8
  import { loadFonts } from './webfontloader'
9
+ import vuetify from './vuetify'
10
+ import pinia from '../store'
11
+ import router from '../router'
8
12
 
9
- export function registerPlugins () {
13
+ export function registerPlugins (app) {
10
14
  loadFonts()
15
+ app
16
+ .use(vuetify)
17
+ .use(router)
18
+ .use(pinia)
11
19
  }
@@ -1,6 +1,6 @@
1
1
  // Plugins
2
2
  import vue from '@vitejs/plugin-vue'
3
- import vuetify from 'vite-plugin-vuetify'
3
+ import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
4
4
 
5
5
  // Utilities
6
6
  import { defineConfig } from 'vite'
@@ -9,7 +9,9 @@ import { fileURLToPath, URL } from 'node:url'
9
9
  // https://vitejs.dev/config/
10
10
  export default defineConfig({
11
11
  plugins: [
12
- vue(),
12
+ vue({
13
+ template: { transformAssetUrls }
14
+ }),
13
15
  // https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin
14
16
  vuetify({
15
17
  autoImport: true,
@@ -8,21 +8,24 @@
8
8
  "lint": "eslint . --fix --ignore-path .gitignore"
9
9
  },
10
10
  "dependencies": {
11
- "@mdi/font": "5.9.55",
11
+ "@mdi/font": "7.0.96",
12
12
  "core-js": "^3.8.3",
13
13
  "roboto-fontface": "*",
14
14
  "vue": "^3.2.13",
15
- "vue-router": "^4.0.0-0",
16
- "vuetify": "^3.0.0-beta.0",
15
+ "vue-router": "^4.0.0",
16
+ "vuetify": "^3.0.0",
17
17
  "webfontloader": "^1.0.0"
18
18
  },
19
19
  "devDependencies": {
20
+ "@types/node": "^18.11.9",
21
+ "@types/webfontloader": "^1.6.35",
20
22
  "@vitejs/plugin-vue": "^3.0.3",
21
23
  "@vue/eslint-config-typescript": "^11.0.0",
22
24
  "eslint": "^8.22.0",
23
25
  "eslint-plugin-vue": "^9.3.0",
24
26
  "sass": "^1.55.0",
25
27
  "typescript": "^4.0.0",
28
+ "vite": "^3.0.9",
26
29
  "vite-plugin-vuetify": "^1.0.0-alpha.12",
27
30
  "vue-tsc": "^1.0.9"
28
31
  }
@@ -4,7 +4,7 @@
4
4
  <v-img
5
5
  contain
6
6
  height="300"
7
- src="src/assets/logo.svg"
7
+ src="@/assets/logo.svg"
8
8
  />
9
9
 
10
10
  <div class="text-body-2 font-weight-light mb-n1">Welcome to</div>
@@ -12,14 +12,9 @@ import { createApp } from 'vue'
12
12
 
13
13
  // Plugins
14
14
  import { registerPlugins } from '@/plugins'
15
- import vuetify from './plugins/vuetify'
16
- import router from './router'
17
15
 
18
16
  const app = createApp(App)
19
17
 
20
18
  registerPlugins(app)
21
19
 
22
- app
23
- .use(vuetify)
24
- .use(router)
25
- .mount('#app')
20
+ app.mount('#app')
@@ -4,8 +4,17 @@
4
4
  * Automatically included in `./src/main.ts`
5
5
  */
6
6
 
7
+ // Plugins
7
8
  import { loadFonts } from './webfontloader'
9
+ import vuetify from './vuetify'
10
+ import router from '../router'
8
11
 
9
- export function registerPlugins () {
12
+ // Types
13
+ import type { App } from 'vue'
14
+
15
+ export function registerPlugins (app: App) {
10
16
  loadFonts()
17
+ app
18
+ .use(vuetify)
19
+ .use(router)
11
20
  }
@@ -0,0 +1,7 @@
1
+ /// <reference types="vite/client" />
2
+
3
+ declare module '*.vue' {
4
+ import type { DefineComponent } from 'vue'
5
+ const component: DefineComponent<{}, {}, any>
6
+ export default component
7
+ }
@@ -1,28 +1,25 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "baseUrl": ".",
4
- "target": "esnext",
4
+ "target": "ESNext",
5
5
  "useDefineForClassFields": true,
6
- "allowSyntheticDefaultImports": true,
7
- "composite": true,
8
- "module": "esnext",
9
- "moduleResolution": "node",
6
+ "module": "ESNext",
7
+ "moduleResolution": "Node",
10
8
  "strict": true,
11
9
  "jsx": "preserve",
12
- "sourceMap": false,
13
10
  "resolveJsonModule": true,
11
+ "isolatedModules": true,
14
12
  "esModuleInterop": true,
15
- "lib": ["esnext", "dom"],
16
- "types": ["vuetify"],
13
+ "lib": ["ESNext", "DOM"],
14
+ "skipLibCheck": true,
15
+ "noEmit": true,
17
16
  "paths": {
18
- "@/*": ["src/*"]
19
- },
17
+ "@/*": [
18
+ "src/*"
19
+ ]
20
+ }
20
21
  },
21
- "include": [
22
- "src/**/*.ts",
23
- "src/**/*.d.ts",
24
- "src/**/*.tsx",
25
- "src/**/*.vue",
26
- "vite.config.ts"
27
- ]
22
+ "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
23
+ "references": [{ "path": "./tsconfig.node.json" }],
24
+ "exclude": ["node_modules"]
28
25
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "compilerOptions": {
3
+ "composite": true,
4
+ "module": "ESNext",
5
+ "moduleResolution": "Node",
6
+ "allowSyntheticDefaultImports": true
7
+ },
8
+ "include": ["vite.config.ts"]
9
+ }
@@ -1,6 +1,6 @@
1
1
  // Plugins
2
2
  import vue from '@vitejs/plugin-vue'
3
- import vuetify from 'vite-plugin-vuetify'
3
+ import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
4
4
 
5
5
  // Utilities
6
6
  import { defineConfig } from 'vite'
@@ -9,7 +9,9 @@ import { fileURLToPath, URL } from 'node:url'
9
9
  // https://vitejs.dev/config/
10
10
  export default defineConfig({
11
11
  plugins: [
12
- vue(),
12
+ vue({
13
+ template: { transformAssetUrls }
14
+ }),
13
15
  // https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin
14
16
  vuetify({
15
17
  autoImport: true,
@@ -0,0 +1,14 @@
1
+ module.exports = {
2
+ root: true,
3
+ env: {
4
+ node: true,
5
+ },
6
+ extends: [
7
+ 'plugin:vue/vue3-essential',
8
+ 'eslint:recommended',
9
+ '@vue/eslint-config-typescript',
10
+ ],
11
+ rules: {
12
+ 'vue/multi-word-component-names': 'off',
13
+ },
14
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "scripts": {
3
+ "lint": "eslint . --fix --ignore-path .gitignore"
4
+ },
5
+ "devDependencies": {
6
+ "@vue/eslint-config-typescript": "^11.0.0",
7
+ "eslint": "^8.22.0",
8
+ "eslint-plugin-vue": "^9.3.0"
9
+ }
10
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "dependencies": {
3
+ "vue-router": "^4.0.0"
4
+ }
5
+ }
@@ -0,0 +1,9 @@
1
+ <template>
2
+ <v-app>
3
+ <default-view />
4
+ </v-app>
5
+ </template>
6
+
7
+ <script lang="ts" setup>
8
+ import DefaultView from './View.vue'
9
+ </script>
@@ -0,0 +1,9 @@
1
+ <template>
2
+ <v-main>
3
+ <router-view />
4
+ </v-main>
5
+ </template>
6
+
7
+ <script lang="ts" setup>
8
+ //
9
+ </script>
@@ -0,0 +1,20 @@
1
+ /**
2
+ * plugins/index.ts
3
+ *
4
+ * Automatically included in `./src/main.ts`
5
+ */
6
+
7
+ // Plugins
8
+ import { loadFonts } from './webfontloader'
9
+ import vuetify from './vuetify'
10
+ import router from '../router'
11
+
12
+ // Types
13
+ import type { App } from 'vue'
14
+
15
+ export function registerPlugins (app: App) {
16
+ loadFonts()
17
+ app
18
+ .use(vuetify)
19
+ .use(router)
20
+ }
@@ -0,0 +1,26 @@
1
+ // Composables
2
+ import { createRouter, createWebHistory } from 'vue-router'
3
+
4
+ const routes = [
5
+ {
6
+ path: '/',
7
+ component: () => import('@/layouts/default/Default.vue'),
8
+ children: [
9
+ {
10
+ path: '',
11
+ name: 'Home',
12
+ // route level code-splitting
13
+ // this generates a separate chunk (about.[hash].js) for this route
14
+ // which is lazy-loaded when the route is visited.
15
+ component: () => import(/* webpackChunkName: "home" */ '@/views/Home.vue'),
16
+ },
17
+ ],
18
+ },
19
+ ]
20
+
21
+ const router = createRouter({
22
+ history: createWebHistory(process.env.BASE_URL),
23
+ routes,
24
+ })
25
+
26
+ export default router
@@ -0,0 +1,7 @@
1
+ <template>
2
+ <HelloWorld />
3
+ </template>
4
+
5
+ <script lang="ts" setup>
6
+ import HelloWorld from '@/components/HelloWorld.vue'
7
+ </script>
@@ -0,0 +1,22 @@
1
+ /**
2
+ * plugins/index.ts
3
+ *
4
+ * Automatically included in `./src/main.ts`
5
+ */
6
+
7
+ // Plugins
8
+ import { loadFonts } from './webfontloader'
9
+ import vuetify from './vuetify'
10
+ import pinia from '../store'
11
+ import router from '../router'
12
+
13
+ // Types
14
+ import type { App } from 'vue'
15
+
16
+ export function registerPlugins (app: App) {
17
+ loadFonts()
18
+ app
19
+ .use(vuetify)
20
+ .use(router)
21
+ .use(pinia)
22
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "dependencies": {
3
+ "pinia": "^2.0.23"
4
+ }
5
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * plugins/index.ts
3
+ *
4
+ * Automatically included in `./src/main.ts`
5
+ */
6
+
7
+ // Plugins
8
+ import { loadFonts } from './webfontloader'
9
+ import vuetify from './vuetify'
10
+ import pinia from '../store'
11
+
12
+ // Types
13
+ import type { App } from 'vue'
14
+
15
+ export function registerPlugins (app: App) {
16
+ loadFonts()
17
+ app
18
+ .use(vuetify)
19
+ .use(pinia)
20
+ }
@@ -0,0 +1,8 @@
1
+ // Utilities
2
+ import { defineStore } from 'pinia'
3
+
4
+ export const useAppStore = defineStore('app', {
5
+ state: () => ({
6
+ //
7
+ }),
8
+ })
@@ -0,0 +1,4 @@
1
+ // Utilities
2
+ import { createPinia } from 'pinia'
3
+
4
+ export default createPinia()
@@ -6,13 +6,15 @@
6
6
  "preview": "vite preview"
7
7
  },
8
8
  "dependencies": {
9
- "@mdi/font": "5.9.55",
9
+ "@mdi/font": "7.0.96",
10
10
  "roboto-fontface": "*",
11
11
  "vue": "^3.2.38",
12
12
  "vuetify": "^3.0.0",
13
13
  "webfontloader": "^1.0.0"
14
14
  },
15
15
  "devDependencies": {
16
+ "@types/node": "^18.11.9",
17
+ "@types/webfontloader": "^1.6.35",
16
18
  "@vitejs/plugin-vue": "^3.0.3",
17
19
  "typescript": "^4.0.0",
18
20
  "vite": "^3.0.9",
@@ -4,7 +4,7 @@
4
4
  <v-img
5
5
  contain
6
6
  height="300"
7
- src="src/assets/logo.svg"
7
+ src="@/assets/logo.svg"
8
8
  />
9
9
 
10
10
  <div class="text-body-2 font-weight-light mb-n1">Welcome to</div>
@@ -12,12 +12,9 @@ import { createApp } from 'vue'
12
12
 
13
13
  // Plugins
14
14
  import { registerPlugins } from '@/plugins'
15
- import vuetify from './plugins/vuetify'
16
15
 
17
16
  const app = createApp(App)
18
17
 
19
18
  registerPlugins(app)
20
19
 
21
- app
22
- .use(vuetify)
23
- .mount('#app')
20
+ app.mount('#app')
@@ -4,9 +4,14 @@
4
4
  * Automatically included in `./src/main.ts`
5
5
  */
6
6
 
7
+ // Plugins
7
8
  import { loadFonts } from './webfontloader'
9
+ import vuetify from './vuetify'
8
10
 
9
- export function registerPlugins () {
11
+ // Types
12
+ import type { App } from 'vue'
13
+
14
+ export function registerPlugins (app: App) {
10
15
  loadFonts()
16
+ app.use(vuetify)
11
17
  }
12
-
@@ -0,0 +1,7 @@
1
+ /// <reference types="vite/client" />
2
+
3
+ declare module '*.vue' {
4
+ import type { DefineComponent } from 'vue'
5
+ const component: DefineComponent<{}, {}, any>
6
+ export default component
7
+ }
@@ -1,28 +1,25 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "baseUrl": ".",
4
- "target": "esnext",
4
+ "target": "ESNext",
5
5
  "useDefineForClassFields": true,
6
- "allowSyntheticDefaultImports": true,
7
- "composite": true,
8
- "module": "esnext",
9
- "moduleResolution": "node",
6
+ "module": "ESNext",
7
+ "moduleResolution": "Node",
10
8
  "strict": true,
11
9
  "jsx": "preserve",
12
- "sourceMap": false,
13
10
  "resolveJsonModule": true,
11
+ "isolatedModules": true,
14
12
  "esModuleInterop": true,
15
- "lib": ["esnext", "dom"],
16
- "types": ["vuetify"],
13
+ "lib": ["ESNext", "DOM"],
14
+ "skipLibCheck": true,
15
+ "noEmit": true,
17
16
  "paths": {
18
- "@/*": ["src/*"]
19
- },
17
+ "@/*": [
18
+ "src/*"
19
+ ]
20
+ }
20
21
  },
21
- "include": [
22
- "src/**/*.ts",
23
- "src/**/*.d.ts",
24
- "src/**/*.tsx",
25
- "src/**/*.vue",
26
- "vite.config.ts"
27
- ]
22
+ "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
23
+ "references": [{ "path": "./tsconfig.node.json" }],
24
+ "exclude": ["node_modules"]
28
25
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "compilerOptions": {
3
+ "composite": true,
4
+ "module": "ESNext",
5
+ "moduleResolution": "Node",
6
+ "allowSyntheticDefaultImports": true
7
+ },
8
+ "include": ["vite.config.ts"]
9
+ }
@@ -1,6 +1,6 @@
1
1
  // Plugins
2
2
  import vue from '@vitejs/plugin-vue'
3
- import vuetify from 'vite-plugin-vuetify'
3
+ import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
4
4
 
5
5
  // Utilities
6
6
  import { defineConfig } from 'vite'
@@ -9,7 +9,9 @@ import { fileURLToPath, URL } from 'node:url'
9
9
  // https://vitejs.dev/config/
10
10
  export default defineConfig({
11
11
  plugins: [
12
- vue(),
12
+ vue({
13
+ template: { transformAssetUrls }
14
+ }),
13
15
  // https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin
14
16
  vuetify({
15
17
  autoImport: true,
@@ -8,23 +8,25 @@
8
8
  "lint": "eslint . --fix --ignore-path .gitignore"
9
9
  },
10
10
  "dependencies": {
11
- "@mdi/font": "5.9.55",
11
+ "@mdi/font": "7.0.96",
12
12
  "core-js": "^3.8.3",
13
13
  "pinia": "^2.0.23",
14
14
  "roboto-fontface": "*",
15
15
  "vue": "^3.2.13",
16
- "vue-router": "^4.0.0-0",
17
- "vuetify": "^3.0.0-beta.0",
16
+ "vue-router": "^4.0.0",
17
+ "vuetify": "^3.0.0",
18
18
  "webfontloader": "^1.0.0"
19
19
  },
20
20
  "devDependencies": {
21
+ "@types/node": "^18.11.9",
22
+ "@types/webfontloader": "^1.6.35",
21
23
  "@vitejs/plugin-vue": "^3.0.3",
22
24
  "@vue/eslint-config-typescript": "^11.0.0",
23
25
  "eslint": "^8.22.0",
24
26
  "eslint-plugin-vue": "^9.3.0",
25
27
  "sass": "^1.55.0",
26
28
  "typescript": "^4.0.0",
27
- "vite": "^3.1.8",
29
+ "vite": "^3.1.9",
28
30
  "vite-plugin-vuetify": "^1.0.0-alpha.12",
29
31
  "vue-tsc": "^1.0.9"
30
32
  }