jeudi 5 janvier 2017

how to add this external vue component in my laravel5.3 project?

I try to add http://ift.tt/2iiohPJ in my laravel 5.3 project but when i used its nothing showing in my view here is i'm getting console "Uncaught ReferenceError: gritcode is not defined" my app.js is.

require('./bootstrap');
Vue.component('example', require('./components/Example.vue'));
new Vue({ components: { 'vs-toast': gritcode-components.toast }})

const app = new Vue({
el: '#app',
});

and my welcome.blade.php

<div id="app">

  <vs-toast>

      <vs-wizard :current-index.sync="currentStep">
      <vs-wizard-step 
        title="Personal Information" 
        description="Enter your details"
        :progress="progress.step1" 
        icon="person">
      </vs-wizard-step>
      <vs-wizard-step 
        title="Payment" 
        description="Pay with credit card or Paypal" 
        :progress="progress.step2"
        icon="credit-card">
      </vs-wizard-step>
      <vs-wizard-step 
        title="Confirmation" 
        description="Your order details" 
        :progress="progress.step3"
        :disable-previous="true"
        icon="check">
      </vs-wizard-step>
    </vs-wizard>

  </vs-toast>

</div>



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2jhy2BR
via IFTTT

Aucun commentaire:

Enregistrer un commentaire