File tree Expand file tree Collapse file tree 4 files changed +12
-11
lines changed
storage/framework/core/vite/src Expand file tree Collapse file tree 4 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 108
108
},
109
109
"workspaces" : [
110
110
" storage/framework" ,
111
- " storage/framework/server" ,
112
- " storage/framework/libs/*" ,
113
- " storage/framework/views/*" ,
114
111
" storage/framework/core/*" ,
115
- " storage/framework/core/bun-create/*"
112
+ " storage/framework/core/bun-create/*" ,
113
+ " storage/framework/docs" ,
114
+ " storage/framework/ide/vscode" ,
115
+ " storage/framework/libs/*" ,
116
+ " storage/framework/server" ,
117
+ " storage/framework/views/*"
116
118
]
117
119
}
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export default defineConfig({
57
57
extensions : [ 'stx' ] ,
58
58
layoutsDirs : p . frameworkPath ( 'views/dashboard/src/layouts' ) ,
59
59
defaultLayout : p . frameworkPath ( 'views/dashboard/src/layouts/default.stx' ) ,
60
- } , false ) ,
60
+ } ) ,
61
61
// autoImports(),
62
62
// components(),
63
63
cssEngine ( ) ,
Original file line number Diff line number Diff line change @@ -2,17 +2,16 @@ import { path as p } from '@stacksjs/path'
2
2
import Layouts from 'vite-plugin-vue-layouts'
3
3
import type { UserOptions as LayoutOptions } from 'vite-plugin-vue-layouts'
4
4
5
- export function layouts ( options ?: LayoutOptions , isMain = true ) {
6
- if ( ! isMain )
7
- return Layouts ( options )
8
-
9
- return Layouts ( {
5
+ export function layouts ( options ?: LayoutOptions ) {
6
+ const opts = {
10
7
extensions : [ 'stx' , 'vue' ] ,
11
8
layoutsDirs : p . layoutsPath ( ) ,
12
9
defaultLayout : p . layoutsPath ( 'default.stx' ) ,
13
10
exclude : [
14
11
p . layoutsPath ( 'mails' ) ,
15
12
] ,
16
13
...options ,
17
- } )
14
+ }
15
+
16
+ return Layouts ( opts )
18
17
}
You can’t perform that action at this time.
0 commit comments