We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4525471 + 89149e6 commit 2d4e93dCopy full SHA for 2d4e93d
lib/src/runtime/plugin.ts
@@ -2,7 +2,7 @@ import { StoryblokVue, apiPlugin } from "@storyblok/vue";
2
import { defineNuxtPlugin, useRuntimeConfig } from "#app";
3
4
export default defineNuxtPlugin(({ vueApp }) => {
5
- let { storyblok } = useRuntimeConfig();
+ let { storyblok } = useRuntimeConfig().public;
6
storyblok = JSON.parse(JSON.stringify(storyblok));
7
vueApp.use(StoryblokVue, { ...storyblok, use: [apiPlugin] });
8
});
0 commit comments