Hi there,
I'm pretty new in this topic and started new with VUE. I tried locally to include a VUE2 Component, but either I don't understand the docs or I couldn't find the right docs.
So this is a question for basic understanding. I have a clean laravel 5.5 instance on my localhost. I also understood the include of the Example.vue, that is shipped with laravel. Also I did this tutorial and understood that too.
https://medium.com/@connorleech/build-a-task-list-with-laravel-5-4-and-vue-2-9be0bba06801
This is really simple. You have a single vue-file in your assets folder and include it in your app.js with
Vue.component('task-list', require('./components/TaskList.vue'));
Easy.
But now I miss the bridge to include "native" VUE2 components. I have picked one from this curated list:
https://github.com/vuejs/awesome-vue
And wanted to include this toast component
https://github.com/noru/vue-easy-toast
First thing I did
yarn add vue-easy-toast
Now I have the package within my node_moduels folder.
On the github page you find this instruction
import Toast from 'vue-easy-toast'
But now I'm lost. What's next?
Where do I add this and what after that?