How to extend velocity theme on bagisto 1.5.1
-
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 -
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.