@vixt/vue 0.4.3 → 0.4.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 (2) hide show
  1. package/dist/index.mjs +3 -3
  2. package/package.json +7 -7
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { generateClient, generateCss, generateAppConfig, generatePlugins, defineVixtModule, generateIndexHtml, resolveLayersDirs, createVixtPlugin } from '@vixt/core';
1
+ import { generateClient, generateCss, generateAppConfig, generatePlugins, defineVixtModule, generateIndexHtml, resolveLayersDirs, patchUnocss, createVixtPlugin } from '@vixt/core';
2
2
  import path from 'pathe';
3
3
  import fs from 'fs-extra';
4
4
  import Vue from '@vitejs/plugin-vue';
@@ -87,8 +87,7 @@ const defaults$1 = {
87
87
  css: [],
88
88
  head: {
89
89
  meta: [
90
- { charset: "utf-8" },
91
- { name: "viewport", content: "width=device-width, initial-scale=1" }
90
+ { charset: "utf-8" }
92
91
  ]
93
92
  }
94
93
  };
@@ -181,6 +180,7 @@ const presetVue = defineVixtModule({
181
180
  };
182
181
  const options = vixt.options = defu(vixt.options, defaultOptions);
183
182
  genarateGlobalComponents(vixt);
183
+ patchUnocss();
184
184
  const plugins = [
185
185
  VueRouter(options.router),
186
186
  Vue(options.vue),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixt/vue",
3
3
  "type": "module",
4
- "version": "0.4.3",
4
+ "version": "0.4.5",
5
5
  "author": "SoulLyoko<https://github.com/SoulLyoko>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/SoulLyoko/vixt#readme",
@@ -18,21 +18,21 @@
18
18
  "dist"
19
19
  ],
20
20
  "dependencies": {
21
- "@vitejs/plugin-vue": "^5.2.4",
22
- "@vitejs/plugin-vue-jsx": "^4.2.0",
21
+ "@vitejs/plugin-vue": "^6.0.0",
22
+ "@vitejs/plugin-vue-jsx": "^5.0.1",
23
23
  "@vueuse/core": "^13.4.0",
24
24
  "pinia": "^3.0.3",
25
- "pinia-plugin-persistedstate": "^4.3.0",
25
+ "pinia-plugin-persistedstate": "^4.4.1",
26
26
  "unocss": "66.0.0",
27
27
  "unplugin-auto-import": "^19.3.0",
28
28
  "unplugin-vue-components": "28.0.0",
29
- "unplugin-vue-router": "^0.12.0",
29
+ "unplugin-vue-router": "^0.14.0",
30
30
  "vite-plugin-vue-devtools": "^7.7.7",
31
31
  "vite-plugin-vue-layouts": "^0.11.0",
32
32
  "vue": "^3.5.17",
33
33
  "vue-router": "^4.5.1",
34
- "vue-tsc": "^2.2.10",
35
- "@vixt/core": "0.4.3"
34
+ "vue-tsc": "^3.0.0",
35
+ "@vixt/core": "0.4.5"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "unbuild",