diff --git a/layouts/default.vue b/layouts/default.vue index 3f0084f432a58a5bc5f990b94082b65681f80398..78f82f9eaab167dd03c6bf8cc86057c523fff832 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -1,5 +1,6 @@ <template> <div> +<client-only> <nav class="navbar navbar--simple __js-root"> <div class="container container--wide navbar__content" :class="{'navbar__content--initialized': true}"> @@ -53,6 +54,7 @@ <Nuxt/> </section> +</client-only> </div> </template> diff --git a/nuxt.config.js b/nuxt.config.js index f710d9129b34a8e476b44158e2ed3ad63f419f86..27885e00926dec3285b3bf1715c8c9d8113c8a6d 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,5 +1,5 @@ export default { -// target: 'static', + target: 'static', modules: [ '@nuxtjs/dotenv',