@vixt/vue 0.1.35 → 0.1.36

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 +2 -2
package/dist/index.mjs CHANGED
@@ -222,12 +222,12 @@ const appVue = defineVixtModule({
222
222
 
223
223
  const presetVue = defineVixtModule({
224
224
  async setup(_, vixt) {
225
- const { components, composables = [], constants = [], utils = [], stores = [], pages, layouts } = resolveLayersDirs(vixt._layers);
225
+ const { components, composables = [], constants = [], utils = [], stores = [], pages = [], layouts = [] } = resolveLayersDirs(vixt._layers);
226
226
  const { buildTypesDir, buildImportsDir } = vixt.options;
227
227
  const defaultOptions = {
228
228
  vue: {},
229
- router: { dts: `${buildTypesDir}/typed-router.d.ts`, routesFolder: pages },
230
- layouts: { layoutsDirs: layouts?.reverse(), pagesDirs: pages },
229
+ router: { dts: `${buildTypesDir}/typed-router.d.ts`, routesFolder: [...pages]?.reverse() },
230
+ layouts: { layoutsDirs: [...layouts]?.reverse(), pagesDirs: [...pages]?.reverse() },
231
231
  components: {
232
232
  dts: `${buildTypesDir}/components.d.ts`,
233
233
  dirs: components,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixt/vue",
3
3
  "type": "module",
4
- "version": "0.1.35",
4
+ "version": "0.1.36",
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.5.13",
33
33
  "vue-router": "^4.5.0",
34
- "@vixt/core": "0.1.35"
34
+ "@vixt/core": "0.1.36"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "unbuild"