Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    adding a vue component using from a custom module

    General Discussion
    2
    2
    544
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      samparker last edited by

      HI!
      How can we add the a custom vue component from a custom module?
      I need to add the component on product view page but can't figure out how to do. I dont want to modify the existing packages like velocity.
      Any reference or help will be highly appreciated.

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        Hi @samparker,

        • First, set up all your Vue dependencies in a custom module.
        • Second, adjust your webpack in your custom module.
        • Third, start developing your component.
        • Fourth, once done compile your package.
        • Fifth, publish your changes where you want. If you want to override the theme file then publish as per the theme path.
        1 Reply Last reply Reply Quote 0
        • First post
          Last post