@vixt/vue 0.0.7 → 0.0.9

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/index.d.mts CHANGED
@@ -2,6 +2,7 @@ import * as vite from 'vite';
2
2
  import * as _vixt_core from '@vixt/core';
3
3
  import { AppOptions, PluginOptions, VixtOptions } from '@vixt/core';
4
4
  import Vue from '@vitejs/plugin-vue';
5
+ import Layouts from 'vite-plugin-vue-layouts';
5
6
  import Components from 'unplugin-vue-components/vite';
6
7
  import AutoImport from 'unplugin-auto-import/vite';
7
8
  import VueDevTools from 'vite-plugin-vue-devtools';
@@ -16,7 +17,7 @@ declare module '@vixt/core' {
16
17
  /** https://github.com/posva/unplugin-vue-router */
17
18
  router?: PluginOptions<typeof VueRouter>;
18
19
  /** https://github.com/JohnCampionJr/vite-plugin-vue-layouts */
19
- layouts?: any;
20
+ layouts?: PluginOptions<typeof Layouts>;
20
21
  /** https://github.com/antfu/unplugin-vue-components */
21
22
  components?: PluginOptions<typeof Components>;
22
23
  /** https://github.com/antfu/unplugin-auto-import */
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import * as vite from 'vite';
2
2
  import * as _vixt_core from '@vixt/core';
3
3
  import { AppOptions, PluginOptions, VixtOptions } from '@vixt/core';
4
4
  import Vue from '@vitejs/plugin-vue';
5
+ import Layouts from 'vite-plugin-vue-layouts';
5
6
  import Components from 'unplugin-vue-components/vite';
6
7
  import AutoImport from 'unplugin-auto-import/vite';
7
8
  import VueDevTools from 'vite-plugin-vue-devtools';
@@ -16,7 +17,7 @@ declare module '@vixt/core' {
16
17
  /** https://github.com/posva/unplugin-vue-router */
17
18
  router?: PluginOptions<typeof VueRouter>;
18
19
  /** https://github.com/JohnCampionJr/vite-plugin-vue-layouts */
19
- layouts?: any;
20
+ layouts?: PluginOptions<typeof Layouts>;
20
21
  /** https://github.com/antfu/unplugin-vue-components */
21
22
  components?: PluginOptions<typeof Components>;
22
23
  /** https://github.com/antfu/unplugin-auto-import */
package/dist/index.mjs CHANGED
@@ -118,7 +118,7 @@ const defaults = {
118
118
  }
119
119
  },
120
120
  typescript: {
121
- references: ["types/typed-router.d.ts", "types/components.d.ts", "types/auto-imports.d.ts", "types/vite-env.d.ts"],
121
+ // references: ['types/typed-router.d.ts', 'types/components.d.ts', 'types/auto-imports.d.ts'],
122
122
  tsConfig: { compilerOptions: { types: ["vite-plugin-vue-layouts/client", "unplugin-vue-router/client"] } },
123
123
  typeCheck: { vueTsc: true }
124
124
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixt/vue",
3
3
  "type": "module",
4
- "version": "0.0.7",
4
+ "version": "0.0.9",
5
5
  "author": "SoulLyoko<https://github.com/SoulLyoko>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/SoulLyoko/vixt#readme",
@@ -31,7 +31,7 @@
31
31
  "vite-plugin-vue-layouts": "^0.11.0",
32
32
  "vue": "^3.4.31",
33
33
  "vue-router": "^4.4.0",
34
- "@vixt/core": "0.0.7"
34
+ "@vixt/core": "0.0.9"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "unbuild"