@paulpaulstudio/plasmic-seo
v0.1.0
Published
Plasmic Code Components for embedding JSON-LD / schema.org markup directly from Plasmic Studio.
Downloads
46
Maintainers
Readme
@paulpaulstudio/plasmic-seo
Plasmic Code Components for embedding schema.org JSON-LD markup directly from Plasmic Studio. Self-contained, no external API calls, SSR-friendly.
Components
<OrganizationSchema>— Organization (place once per site, e.g. in footer/layout)<ArticleSchema>— Article / BlogPosting / NewsArticle (place on article pages)<BreadcrumbSchema>— BreadcrumbList<FaqSchema>— FAQPage<ProductSchema>— Product with optional Offer (price + availability)<LocalBusinessSchema>— LocalBusiness with address, geo, opening hours<JsonLd>— generic wrapper for any schema.org type
All components render <script type="application/ld+json">…</script>. Place them anywhere in the page tree — Google's crawler reads them regardless of position.
Install
npm install @paulpaulstudio/plasmic-seoUse with @plasmicapp/loader-nextjs
import { initPlasmicLoader } from "@plasmicapp/loader-nextjs";
import { registerSeo } from "@paulpaulstudio/plasmic-seo/register-loader";
export const PLASMIC = initPlasmicLoader({ projects: [...] });
registerSeo(PLASMIC);Use with Plasmic Studio (App Host)
import { PlasmicCanvasHost } from "@plasmicapp/host";
import { registerSeo } from "@paulpaulstudio/plasmic-seo/register-host";
registerSeo();
export default PlasmicCanvasHost;License
MIT
