adding a vue component using from a custom module



  • 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.



  • 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.

Log in to reply