Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 8e94e28

Browse files
committed
feat(nuxt): full ssr compatibility
1 parent 29c9a61 commit 8e94e28

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

examples/nuxt-app/app.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
>
1616
Click me to toggle. ({{ colorMode }})
1717
</chakra.button>
18+
19+
<chakra.button px="4" py="3" bg="$brand" font-weight="bold">
20+
Extended Component
21+
</chakra.button>
1822
</chakra.div>
1923
</template>
2024

packages/core/src/helpers/plugin.types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export interface ChakraPluginOptions {
1717
cssReset?: boolean
1818
extendTheme?: ThemeOverride
1919
icons?: IconsOptions
20-
defaultColorMode?: UnwrapRef<ColorModeRef>
2120
colorModeManager?: StorageManager
2221
emotionCacheOptions?: Options
2322
isBaseTheme?: boolean

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"playground/**/*.json",
4848
"tests/index.d.ts",
4949
"**/*.d.ts",
50-
"vite.config.ts",
50+
"vite.config.ts", "packages/nuxt/src/runtime/chakra.client.template.jst",
5151
],
5252
"exclude": [
5353
"node_modules",

0 commit comments

Comments
 (0)