GithubHelp home page GithubHelp logo

Comments (3)

oekazuma avatar oekazuma commented on May 26, 2024 1

Sorry, there was an error in the documentation.
JavaScript usually does not allow deep merging of objects, so you need to have a function that allows deep merging.

Please refer to the detailed example I have created.
https://github.com/oekazuma/svelte-meta-tags/tree/main/example

from svelte-meta-tags.

oekazuma avatar oekazuma commented on May 26, 2024

Can you give us some more details?
What is the value of $page.data.metaTagsChild?

from svelte-meta-tags.

huseeiin avatar huseeiin commented on May 26, 2024

Can you give us some more details? What is the value of $page.data.metaTagsChild?

its different for every page but its something like this

export const load = () => {
    const metaTags: MetaTagsProps = {
        title: "Home",
        openGraph: {
            title: "Home",
        },
        twitter: {
            title: "Home",
        },
    };

    return {
        metaTagsChild: metaTags,
    };
};

from svelte-meta-tags.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.