Skip to content

Commit 615f770

Browse files
committed
docs: add a comment about why noSsr
1 parent a211009 commit 615f770

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/.vuepress/config.js

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ module.exports = {
1717
{
1818
// uncomment next line to use a custom layout
1919
// layout: path.resolve(__dirname, "./components/custom-layout.vue"),
20+
21+
// I chose to show a component that can't be server side rendered
22+
// so I use the noSsr flag to avoid the "document is not defined" error
2023
noSsr: true,
2124
},
2225
],

0 commit comments

Comments
 (0)