Skip to content

Commit e68873a

Browse files
committed
new eslint rules in playground
1 parent d7036ba commit e68873a

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

playground/nuxt.config.ts

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,21 @@ export default defineNuxtConfig({
77
// optional
88
"@nuxthub/core",
99
],
10-
devtools: { enabled: true },
11-
compatibilityDate: "2024-07-27",
12-
slipAuth: {
13-
database: {
14-
nitroDatabaseName: "default",
15-
dialect: "sqlite",
10+
11+
// #region - codesandbox config
12+
runtimeConfig: {
13+
session: {
14+
cookie: {
15+
// Required when SameSite=None is set
16+
secure: true,
17+
// This allows the cookie to be used in iframes
18+
sameSite: "None",
19+
// Ensures cookie is accessible across the whole domain
20+
path: "/",
21+
},
1622
},
1723
},
24+
compatibilityDate: "2024-07-27",
1825
nitro: {
1926
database: {
2027
default: {
@@ -34,11 +41,6 @@ export default defineNuxtConfig({
3441
},
3542
},
3643
},
37-
38-
// #region faster demo startup
39-
tailwindcss: {
40-
viewer: false,
41-
},
4244
// #endregion
4345

4446
// #region nuxthub enable database
@@ -47,18 +49,16 @@ export default defineNuxtConfig({
4749
},
4850
// #endregion
4951

50-
// #region - codesandbox config
51-
runtimeConfig: {
52-
session: {
53-
cookie: {
54-
// Required when SameSite=None is set
55-
secure: true,
56-
// This allows the cookie to be used in iframes
57-
sameSite: "None",
58-
// Ensures cookie is accessible across the whole domain
59-
path: "/",
60-
},
52+
slipAuth: {
53+
database: {
54+
nitroDatabaseName: "default",
55+
dialect: "sqlite",
6156
},
6257
},
58+
59+
// #region faster demo startup
60+
tailwindcss: {
61+
viewer: false,
62+
},
6363
// #endregion
6464
});

0 commit comments

Comments
 (0)