Skip to content

Commit 93e09f1

Browse files
committed
chore: wip
1 parent 3ab0e1e commit 93e09f1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.stacks/core/vite-plugin-vue-layouts/src/types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Plugin options.
33
*/
4-
export interface Options {
4+
export interface LayoutOptions {
55
/**
66
* Relative path to the directory to search for page components.
77
* @default 'src/layouts'
@@ -31,9 +31,9 @@ export type FileContainer = {
3131
path: string
3232
files: string[]
3333
}
34-
export type UserOptions = Partial<Options>
34+
export type UserOptions = Partial<LayoutOptions>
3535

36-
export interface ResolvedOptions extends Options {}
36+
export interface ResolvedOptions extends LayoutOptions {}
3737

3838
export interface clientSideOptions {
3939
/**

.stacks/core/vite/src/plugin/layouts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Layouts from '@stacksjs/vite-plugin-vue-layouts';
2-
import type { Options as LayoutOptions } from '@stacksjs/vite-plugin-vue-layouts'
2+
import type { LayoutOptions } from '@stacksjs/vite-plugin-vue-layouts'
33

44
export function layouts(options?: LayoutOptions) {
55
return Layouts(options)

0 commit comments

Comments
 (0)