@vixt/vue 0.1.37 → 0.1.38

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 +2 -2
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -235,8 +235,8 @@ const presetVue = defineVixtModule({
235
235
  const overrides = node._overrides;
236
236
  if (overrides.size <= 1)
237
237
  return;
238
- for (const layer of vixt._layers) {
239
- const matched = overrides.keys().find((e) => e.match(layer.cwd));
238
+ for (const pageDir of pages) {
239
+ const matched = overrides.keys().find((e) => e.match(pageDir));
240
240
  if (matched) {
241
241
  node.components.set("default", matched);
242
242
  return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixt/vue",
3
3
  "type": "module",
4
- "version": "0.1.37",
4
+ "version": "0.1.38",
5
5
  "author": "SoulLyoko<https://github.com/SoulLyoko>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/SoulLyoko/vixt#readme",
@@ -32,7 +32,7 @@
32
32
  "vite-plugin-vue-layouts": "^0.11.0",
33
33
  "vue": "^3.5.13",
34
34
  "vue-router": "^4.5.0",
35
- "@vixt/core": "0.1.37"
35
+ "@vixt/core": "0.1.38"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "unbuild"