create-vuetify 1.1.0 → 1.1.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/dist/output.cjs CHANGED
@@ -14,10 +14,7 @@ var __copyProps = (to, from, except, desc) => {
14
14
  }
15
15
  return to;
16
16
  };
17
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
18
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
19
- mod
20
- ));
17
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
21
18
 
22
19
  // src/index.ts
23
20
  var import_path3 = require("path");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vuetify",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "main": "dist/output.cjs",
5
5
  "author": "Elijah Kotyluk <elijah@elijahkotyluk.com>",
6
6
  "license": "MIT",
@@ -4,15 +4,15 @@
4
4
  * Bootstraps Vuetify and other plugins then mounts the App`
5
5
  */
6
6
 
7
+ // Plugins
8
+ import { registerPlugins } from '@/plugins'
9
+
7
10
  // Components
8
11
  import App from './App.vue'
9
12
 
10
13
  // Composables
11
14
  import { createApp } from 'vue'
12
15
 
13
- // Plugins
14
- import { registerPlugins } from '@/plugins'
15
-
16
16
  const app = createApp(App)
17
17
 
18
18
  registerPlugins(app)
@@ -10,9 +10,9 @@ const routes = [
10
10
  path: '',
11
11
  name: 'Home',
12
12
  // route level code-splitting
13
- // this generates a separate chunk (about.[hash].js) for this route
13
+ // this generates a separate chunk (Home-[hash].js) for this route
14
14
  // which is lazy-loaded when the route is visited.
15
- component: () => import(/* webpackChunkName: "home" */ '@/views/Home.vue'),
15
+ component: () => import('@/views/Home.vue'),
16
16
  },
17
17
  ],
18
18
  },
@@ -13,7 +13,7 @@ export default defineConfig({
13
13
  vue({
14
14
  template: { transformAssetUrls }
15
15
  }),
16
- // https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin
16
+ // https://github.com/vuetifyjs/vuetify-loader/tree/master/packages/vite-plugin#readme
17
17
  vuetify({
18
18
  autoImport: true,
19
19
  styles: {
@@ -10,9 +10,9 @@ const routes = [
10
10
  path: '',
11
11
  name: 'Home',
12
12
  // route level code-splitting
13
- // this generates a separate chunk (about.[hash].js) for this route
13
+ // this generates a separate chunk (Home-[hash].js) for this route
14
14
  // which is lazy-loaded when the route is visited.
15
- component: () => import(/* webpackChunkName: "home" */ '@/views/Home.vue'),
15
+ component: () => import('@/views/Home.vue'),
16
16
  },
17
17
  ],
18
18
  },
@@ -9,7 +9,7 @@
9
9
  "@mdi/font": "7.0.96",
10
10
  "roboto-fontface": "*",
11
11
  "vue": "^3.2.0",
12
- "vuetify": "^3.0.0",
12
+ "vuetify": "^3.0.0"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@vitejs/plugin-vue": "^4.0.0",
@@ -4,15 +4,15 @@
4
4
  * Bootstraps Vuetify and other plugins then mounts the App`
5
5
  */
6
6
 
7
+ // Plugins
8
+ import { registerPlugins } from '@/plugins'
9
+
7
10
  // Components
8
11
  import App from './App.vue'
9
12
 
10
13
  // Composables
11
14
  import { createApp } from 'vue'
12
15
 
13
- // Plugins
14
- import { registerPlugins } from '@/plugins'
15
-
16
16
  const app = createApp(App)
17
17
 
18
18
  registerPlugins(app)
@@ -13,7 +13,7 @@ export default defineConfig({
13
13
  vue({
14
14
  template: { transformAssetUrls }
15
15
  }),
16
- // https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin
16
+ // https://github.com/vuetifyjs/vuetify-loader/tree/master/packages/vite-plugin#readme
17
17
  vuetify({
18
18
  autoImport: true,
19
19
  }),
@@ -4,15 +4,15 @@
4
4
  * Bootstraps Vuetify and other plugins then mounts the App`
5
5
  */
6
6
 
7
+ // Plugins
8
+ import { registerPlugins } from '@/plugins'
9
+
7
10
  // Components
8
11
  import App from './App.vue'
9
12
 
10
13
  // Composables
11
14
  import { createApp } from 'vue'
12
15
 
13
- // Plugins
14
- import { registerPlugins } from '@/plugins'
15
-
16
16
  const app = createApp(App)
17
17
 
18
18
  registerPlugins(app)
@@ -10,9 +10,9 @@ const routes = [
10
10
  path: '',
11
11
  name: 'Home',
12
12
  // route level code-splitting
13
- // this generates a separate chunk (about.[hash].js) for this route
13
+ // this generates a separate chunk (Home-[hash].js) for this route
14
14
  // which is lazy-loaded when the route is visited.
15
- component: () => import(/* webpackChunkName: "home" */ '@/views/Home.vue'),
15
+ component: () => import('@/views/Home.vue'),
16
16
  },
17
17
  ],
18
18
  },
@@ -13,7 +13,7 @@ export default defineConfig({
13
13
  vue({
14
14
  template: { transformAssetUrls }
15
15
  }),
16
- // https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin
16
+ // https://github.com/vuetifyjs/vuetify-loader/tree/master/packages/vite-plugin#readme
17
17
  vuetify({
18
18
  autoImport: true,
19
19
  styles: {
@@ -4,15 +4,15 @@
4
4
  * Bootstraps Vuetify and other plugins then mounts the App`
5
5
  */
6
6
 
7
+ // Plugins
8
+ import { registerPlugins } from '@/plugins'
9
+
7
10
  // Components
8
11
  import App from './App.vue'
9
12
 
10
13
  // Composables
11
14
  import { createApp } from 'vue'
12
15
 
13
- // Plugins
14
- import { registerPlugins } from '@/plugins'
15
-
16
16
  const app = createApp(App)
17
17
 
18
18
  registerPlugins(app)
@@ -10,9 +10,9 @@ const routes = [
10
10
  path: '',
11
11
  name: 'Home',
12
12
  // route level code-splitting
13
- // this generates a separate chunk (about.[hash].js) for this route
13
+ // this generates a separate chunk (Home-[hash].js) for this route
14
14
  // which is lazy-loaded when the route is visited.
15
- component: () => import(/* webpackChunkName: "home" */ '@/views/Home.vue'),
15
+ component: () => import('@/views/Home.vue'),
16
16
  },
17
17
  ],
18
18
  },
@@ -11,9 +11,9 @@ import { fileURLToPath, URL } from 'node:url'
11
11
  export default defineConfig({
12
12
  plugins: [
13
13
  vue({
14
- template: { transformAssetUrls }
14
+ template: { transformAssetUrls },
15
15
  }),
16
- // https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin
16
+ // https://github.com/vuetifyjs/vuetify-loader/tree/master/packages/vite-plugin#readme
17
17
  vuetify({
18
18
  autoImport: true,
19
19
  styles: {
@@ -22,27 +22,21 @@ export default defineConfig({
22
22
  }),
23
23
  ViteFonts({
24
24
  google: {
25
- families: [{
26
- name: 'Roboto',
27
- styles: 'wght@100;300;400;500;700;900',
28
- }],
25
+ families: [
26
+ {
27
+ name: 'Roboto',
28
+ styles: 'wght@100;300;400;500;700;900',
29
+ },
30
+ ],
29
31
  },
30
32
  }),
31
33
  ],
32
34
  define: { 'process.env': {} },
33
35
  resolve: {
34
36
  alias: {
35
- '@': fileURLToPath(new URL('./src', import.meta.url))
37
+ '@': fileURLToPath(new URL('./src', import.meta.url)),
36
38
  },
37
- extensions: [
38
- '.js',
39
- '.json',
40
- '.jsx',
41
- '.mjs',
42
- '.ts',
43
- '.tsx',
44
- '.vue',
45
- ],
39
+ extensions: ['.js', '.json', '.jsx', '.mjs', '.ts', '.tsx', '.vue'],
46
40
  },
47
41
  server: {
48
42
  port: 3000,
@@ -10,9 +10,9 @@ const routes = [
10
10
  path: '',
11
11
  name: 'Home',
12
12
  // route level code-splitting
13
- // this generates a separate chunk (about.[hash].js) for this route
13
+ // this generates a separate chunk (Home-[hash].js) for this route
14
14
  // which is lazy-loaded when the route is visited.
15
- component: () => import(/* webpackChunkName: "home" */ '@/views/Home.vue'),
15
+ component: () => import('@/views/Home.vue'),
16
16
  },
17
17
  ],
18
18
  },
@@ -4,15 +4,15 @@
4
4
  * Bootstraps Vuetify and other plugins then mounts the App`
5
5
  */
6
6
 
7
+ // Plugins
8
+ import { registerPlugins } from '@/plugins'
9
+
7
10
  // Components
8
11
  import App from './App.vue'
9
12
 
10
13
  // Composables
11
14
  import { createApp } from 'vue'
12
15
 
13
- // Plugins
14
- import { registerPlugins } from '@/plugins'
15
-
16
16
  const app = createApp(App)
17
17
 
18
18
  registerPlugins(app)
@@ -11,35 +11,29 @@ import { fileURLToPath, URL } from 'node:url'
11
11
  export default defineConfig({
12
12
  plugins: [
13
13
  vue({
14
- template: { transformAssetUrls }
14
+ template: { transformAssetUrls },
15
15
  }),
16
- // https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin
16
+ // https://github.com/vuetifyjs/vuetify-loader/tree/master/packages/vite-plugin#readme
17
17
  vuetify({
18
18
  autoImport: true,
19
19
  }),
20
20
  ViteFonts({
21
21
  google: {
22
- families: [{
23
- name: 'Roboto',
24
- styles: 'wght@100;300;400;500;700;900',
25
- }],
22
+ families: [
23
+ {
24
+ name: 'Roboto',
25
+ styles: 'wght@100;300;400;500;700;900',
26
+ },
27
+ ],
26
28
  },
27
29
  }),
28
30
  ],
29
31
  define: { 'process.env': {} },
30
32
  resolve: {
31
33
  alias: {
32
- '@': fileURLToPath(new URL('./src', import.meta.url))
34
+ '@': fileURLToPath(new URL('./src', import.meta.url)),
33
35
  },
34
- extensions: [
35
- '.js',
36
- '.json',
37
- '.jsx',
38
- '.mjs',
39
- '.ts',
40
- '.tsx',
41
- '.vue',
42
- ],
36
+ extensions: ['.js', '.json', '.jsx', '.mjs', '.ts', '.tsx', '.vue'],
43
37
  },
44
38
  server: {
45
39
  port: 3000,
@@ -4,15 +4,15 @@
4
4
  * Bootstraps Vuetify and other plugins then mounts the App`
5
5
  */
6
6
 
7
+ // Plugins
8
+ import { registerPlugins } from '@/plugins'
9
+
7
10
  // Components
8
11
  import App from './App.vue'
9
12
 
10
13
  // Composables
11
14
  import { createApp } from 'vue'
12
15
 
13
- // Plugins
14
- import { registerPlugins } from '@/plugins'
15
-
16
16
  const app = createApp(App)
17
17
 
18
18
  registerPlugins(app)
@@ -10,9 +10,9 @@ const routes = [
10
10
  path: '',
11
11
  name: 'Home',
12
12
  // route level code-splitting
13
- // this generates a separate chunk (about.[hash].js) for this route
13
+ // this generates a separate chunk (Home-[hash].js) for this route
14
14
  // which is lazy-loaded when the route is visited.
15
- component: () => import(/* webpackChunkName: "home" */ '@/views/Home.vue'),
15
+ component: () => import('@/views/Home.vue'),
16
16
  },
17
17
  ],
18
18
  },
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "paths": {
21
21
  "@/*": ["src/*"]
22
- },
22
+ }
23
23
  },
24
24
  "include": [
25
25
  "src/**/*.ts",
@@ -11,9 +11,9 @@ import { fileURLToPath, URL } from 'node:url'
11
11
  export default defineConfig({
12
12
  plugins: [
13
13
  vue({
14
- template: { transformAssetUrls }
14
+ template: { transformAssetUrls },
15
15
  }),
16
- // https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin
16
+ // https://github.com/vuetifyjs/vuetify-loader/tree/master/packages/vite-plugin#readme
17
17
  vuetify({
18
18
  autoImport: true,
19
19
  styles: {
@@ -22,27 +22,21 @@ export default defineConfig({
22
22
  }),
23
23
  ViteFonts({
24
24
  google: {
25
- families: [{
26
- name: 'Roboto',
27
- styles: 'wght@100;300;400;500;700;900',
28
- }],
25
+ families: [
26
+ {
27
+ name: 'Roboto',
28
+ styles: 'wght@100;300;400;500;700;900',
29
+ },
30
+ ],
29
31
  },
30
32
  }),
31
33
  ],
32
34
  define: { 'process.env': {} },
33
35
  resolve: {
34
36
  alias: {
35
- '@': fileURLToPath(new URL('./src', import.meta.url))
37
+ '@': fileURLToPath(new URL('./src', import.meta.url)),
36
38
  },
37
- extensions: [
38
- '.js',
39
- '.json',
40
- '.jsx',
41
- '.mjs',
42
- '.ts',
43
- '.tsx',
44
- '.vue',
45
- ],
39
+ extensions: ['.js', '.json', '.jsx', '.mjs', '.ts', '.tsx', '.vue'],
46
40
  },
47
41
  server: {
48
42
  port: 3000,