Bagisto Forum

    Bagisto

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

    Vuejs Components not working in custom theme

    General Discussion
    2
    2
    107
    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.
    • A
      avijit.ghosh last edited by

      Re: Vuejs Components not working in custom theme.

      when I change theme default to theme1 my home page does not show something. A Error Showing Uncaught TypeError: app.component is not a function but when I am back to switch to the default theme it's perfectly fine. How to solve this problem?

      A 1 Reply Last reply Reply Quote 0
      • A
        amit-webkul @avijit.ghosh last edited by

        Hello @avijit-ghosh ,

        When creating a new theme, ensure you properly configure Vite and correctly set the paths for CSS, JS, and views in the Vite configuration file.

        You can refer to this for guidance:
        https://bagisto.com/en/how-to-configure-vite-in-bagisto-separate-package/

        1 Reply Last reply Reply Quote 0
        • First post
          Last post