Import\Create custom VueJS component to the view file!
Serhii last edited by
I want to create my Vue component and display it on the page, but I can't do it.
First of all, I added example.vue file to the:
Then in the file:
packages/Webkul/Velocity/src/Resources/assets/js/app.jsI added next lines
import VueExample from 'example-component';
In the view file:
resources/themes/velocity/views/products/view.blade.php, I added
<example-component></example-component>but nothing happens.
This is the first time I do it) How can I add this component?
devansh-webkul last edited by
Did you compile your assets?