diff --git a/packages/docs/src/vuetify/index.js b/packages/docs/src/vuetify/index.js
index <HASH>..<HASH> 100644
--- a/packages/docs/src/vuetify/index.js
+++ b/packages/docs/src/vuetify/index.js
@@ -9,10 +9,10 @@ export function createVuetify () {
   const vuetify = new Vuetify({
     theme: {
       options: {
-        themeCache: {
+        themeCache: typeof document !== 'undefined' ? {
           get: key => localStorage.getItem(key),
           set: (key, value) => localStorage.setItem(key, value),
-        },
+        } : undefined,
         minifyTheme,
       },
       themes: {
docs: check for document before using localStorage