vite-plugin-generoutes 1.1.0-beta.3 → 1.1.0-beta.4

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.js +2 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -119,6 +119,8 @@ export interface RouteMeta {
119
119
  icon?: string
120
120
  /** Page code */
121
121
  code?: string
122
+ /** Page layout */
123
+ layout?: string
122
124
  /** Whether authentication is required */
123
125
  requireAuth?: boolean
124
126
  /** Whether to keep alive */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vite-plugin-generoutes",
3
3
  "type": "module",
4
- "version": "1.1.0-beta.3",
4
+ "version": "1.1.0-beta.4",
5
5
  "packageManager": "pnpm@10.6.2",
6
6
  "description": "A Vite plugin that generate routes based on the file structure, supports dynamic routes, and supports custom meta data for each route.",
7
7
  "author": "Ronnie Zhang <zclzone@outlook.com>",