• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

How to extend velocity theme on bagisto 1.5.1

General Discussion
2
2
103
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.
  • M
    muritik last edited by 10 Aug 2023, 04:01

    Hi there, on my

    scripts.blade.php

    <script type="text/javascript" src="{{ asset(mix('/js/manifest.js', 'themes/velocity/assets')) }}"></script>
    
    <script type="text/javascript" src="{{ asset(mix('/js/velocity-core.js', 'themes/velocity/assets')) }}"></script>
    
    <script type="text/javascript" src="{{ asset(mix('/js/components.js', 'themes/velocity/assets')) }}"></script>
    
    
    @if (config('app.env') == 'local')
        <script
        type="text/javascript"
        src="{{ asset('vendor/project/core/assets/js/shop.js') }}">
        </script>
    @else
    <script
        type="text/javascript"
        src="{{ mix('assets/js/shop.js') }}">
    </script>
    @endif
    

    but on my shop.js, I cannot use Vue directive
    Vue.component("map-component", Component); but it's working on companypass 1.3.3, all the components is not working, it's forcing me to mount it again on the #app. How can I extend my theme with velocity?

    my current version is 1.3.3
    my target version is 1.5.1

    1 Reply Last reply Reply Quote 0
    • A
      Amitk-Webkul last edited by 11 Aug 2023, 09:45

      Hello there,

      Greeting for the Day!

      You can follow this doc to update the Bagisto.

      If you still facing the same issue please let us know.

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post