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.
- package/README.md +4 -5
- package/dist/output.cjs +187 -84
- package/package.json +1 -1
- package/template/javascript/base/package.json +4 -4
- package/template/javascript/base/src/components/HelloWorld.vue +1 -1
- package/template/javascript/base/src/main.js +1 -6
- package/template/javascript/base/src/plugins/index.js +7 -1
- package/template/javascript/base/vite.config.js +4 -2
- package/template/javascript/custom/eslint/_eslintrc.js +10 -0
- package/template/javascript/custom/eslint/package.json +9 -0
- package/template/javascript/custom/router/package.json +5 -0
- package/template/javascript/custom/router/src/App.vue +7 -0
- package/template/javascript/custom/router/src/layouts/default/Default.vue +9 -0
- package/template/javascript/custom/router/src/layouts/default/View.vue +9 -0
- package/template/javascript/custom/router/src/plugins/index.js +17 -0
- package/template/javascript/custom/router/src/router/index.js +26 -0
- package/template/javascript/custom/router/src/views/Home.vue +7 -0
- package/template/javascript/custom/router-pinia/src/plugins/index.js +19 -0
- package/template/javascript/custom/store/package.json +5 -0
- package/template/javascript/custom/store/src/plugins/index.js +17 -0
- package/template/javascript/custom/store/src/store/app.js +8 -0
- package/template/javascript/custom/store/src/store/index.js +4 -0
- package/template/javascript/default/package.json +2 -2
- package/template/javascript/default/src/components/HelloWorld.vue +1 -1
- package/template/javascript/default/src/main.js +1 -4
- package/template/javascript/default/src/plugins/index.js +4 -2
- package/template/javascript/default/vite.config.js +4 -2
- package/template/javascript/essentials/package.json +4 -4
- package/template/javascript/essentials/src/components/HelloWorld.vue +1 -1
- package/template/javascript/essentials/src/main.js +1 -8
- package/template/javascript/essentials/src/plugins/index.js +9 -1
- package/template/javascript/essentials/vite.config.js +4 -2
- package/template/typescript/base/package.json +6 -3
- package/template/typescript/base/src/components/HelloWorld.vue +1 -1
- package/template/typescript/base/src/main.ts +1 -6
- package/template/typescript/base/src/plugins/index.ts +10 -1
- package/template/typescript/base/src/vite-env.d.ts +7 -0
- package/template/typescript/base/tsconfig.json +14 -17
- package/template/typescript/base/tsconfig.node.json +9 -0
- package/template/typescript/base/vite.config.ts +4 -2
- package/template/typescript/custom/eslint/_eslintrc.js +14 -0
- package/template/typescript/custom/eslint/package.json +10 -0
- package/template/typescript/custom/router/package.json +5 -0
- package/template/typescript/custom/router/src/layouts/default/Default.vue +9 -0
- package/template/typescript/custom/router/src/layouts/default/View.vue +9 -0
- package/template/typescript/custom/router/src/plugins/index.ts +20 -0
- package/template/typescript/custom/router/src/router/index.ts +26 -0
- package/template/typescript/custom/router/src/views/Home.vue +7 -0
- package/template/typescript/custom/router-pinia/src/plugins/index.ts +22 -0
- package/template/typescript/custom/store/package.json +5 -0
- package/template/typescript/custom/store/src/plugins/index.ts +20 -0
- package/template/typescript/custom/store/src/store/app.ts +8 -0
- package/template/typescript/custom/store/src/store/index.ts +4 -0
- package/template/typescript/default/package.json +3 -1
- package/template/typescript/default/src/components/HelloWorld.vue +1 -1
- package/template/typescript/default/src/main.ts +1 -4
- package/template/typescript/default/src/plugins/index.ts +7 -2
- package/template/typescript/default/src/vite-env.d.ts +7 -0
- package/template/typescript/default/tsconfig.json +14 -17
- package/template/typescript/default/tsconfig.node.json +9 -0
- package/template/typescript/default/vite.config.ts +4 -2
- package/template/typescript/essentials/package.json +6 -4
- package/template/typescript/essentials/src/components/HelloWorld.vue +1 -1
- package/template/typescript/essentials/src/main.ts +1 -8
- package/template/typescript/essentials/src/plugins/index.ts +12 -1
- package/template/typescript/essentials/src/vite-env.d.ts +7 -0
- package/template/typescript/essentials/tsconfig.json +4 -1
- package/template/typescript/essentials/tsconfig.node.json +9 -0
- package/template/typescript/essentials/vite.config.ts +4 -2
- package/template/typescript/base/env.d.ts +0 -1
- package/template/typescript/default/env.d.ts +0 -1
- 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": "
|
|
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
|
|
17
|
-
"vuetify": "^3.0.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.
|
|
25
|
+
"vite": "^3.1.9",
|
|
26
26
|
"vite-plugin-vuetify": "^1.0.0-alpha.12"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -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": "
|
|
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
|
|
16
|
-
"vuetify": "^3.0.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
|
}
|
|
@@ -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
|
-
|
|
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
|
}
|
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"baseUrl": ".",
|
|
4
|
-
"target": "
|
|
4
|
+
"target": "ESNext",
|
|
5
5
|
"useDefineForClassFields": true,
|
|
6
|
-
"
|
|
7
|
-
"
|
|
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": ["
|
|
16
|
-
"
|
|
13
|
+
"lib": ["ESNext", "DOM"],
|
|
14
|
+
"skipLibCheck": true,
|
|
15
|
+
"noEmit": true,
|
|
17
16
|
"paths": {
|
|
18
|
-
"@/*": [
|
|
19
|
-
|
|
17
|
+
"@/*": [
|
|
18
|
+
"src/*"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
20
21
|
},
|
|
21
|
-
"include": [
|
|
22
|
-
|
|
23
|
-
|
|
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
|
}
|
|
@@ -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,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,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,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
|
+
}
|
|
@@ -6,13 +6,15 @@
|
|
|
6
6
|
"preview": "vite preview"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@mdi/font": "
|
|
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",
|
|
@@ -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
|
-
|
|
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
|
-
|
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"baseUrl": ".",
|
|
4
|
-
"target": "
|
|
4
|
+
"target": "ESNext",
|
|
5
5
|
"useDefineForClassFields": true,
|
|
6
|
-
"
|
|
7
|
-
"
|
|
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": ["
|
|
16
|
-
"
|
|
13
|
+
"lib": ["ESNext", "DOM"],
|
|
14
|
+
"skipLibCheck": true,
|
|
15
|
+
"noEmit": true,
|
|
17
16
|
"paths": {
|
|
18
|
-
"@/*": [
|
|
19
|
-
|
|
17
|
+
"@/*": [
|
|
18
|
+
"src/*"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
20
21
|
},
|
|
21
|
-
"include": [
|
|
22
|
-
|
|
23
|
-
|
|
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
|
}
|
|
@@ -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": "
|
|
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
|
|
17
|
-
"vuetify": "^3.0.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.
|
|
29
|
+
"vite": "^3.1.9",
|
|
28
30
|
"vite-plugin-vuetify": "^1.0.0-alpha.12",
|
|
29
31
|
"vue-tsc": "^1.0.9"
|
|
30
32
|
}
|