diff --git a/README.md b/README.md index c5902cae..3db9614b 100644 --- a/README.md +++ b/README.md @@ -148,13 +148,13 @@ You can override the default resolvers by passing a `resolver` prop to the `Stor ```html diff --git a/lib/index.ts b/lib/index.ts index b9b69253..49393b93 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -25,6 +25,13 @@ export { MarkTypes, richTextResolver, TextTypes, + type StoryblokRichTextOptions, + type StoryblokRichTextDocumentNode, + type StoryblokRichTextNodeTypes, + type StoryblokRichTextNode, + type StoryblokRichTextResolvers, + type StoryblokRichTextNodeResolver, + type StoryblokRichTextImageOptimizationOptions, } from "@storyblok/js"; import StoryblokComponent from "./StoryblokComponent.vue"; diff --git a/playground/pages/RichTextDemo.vue b/playground/pages/RichTextDemo.vue index fb460ce8..58d2df1a 100644 --- a/playground/pages/RichTextDemo.vue +++ b/playground/pages/RichTextDemo.vue @@ -1,5 +1,12 @@ - diff --git a/playground/router/index.ts b/playground/router/index.ts index 2491bf0e..10ef1c8a 100644 --- a/playground/router/index.ts +++ b/playground/router/index.ts @@ -2,6 +2,11 @@ import { createWebHistory, createRouter } from "vue-router"; const routes = [ { path: "/", name: "Home", component: () => import("../pages/Home.vue") }, + { + path: "/vue/test", + name: "Home", + component: () => import("../pages/Home.vue"), + }, { path: "/vue/test-richtext", name: "RichTextDemo",