Closed TechnicalSuwako closed 5 years ago
import ToggleButton from 'vue-js-toggle-button'
Vue.use(ToggleButton)
It already tried, but question was same.
If you have a main.js file or the file that has all your required npm packages, you need to add the "import ToggleButton from 'vue-js-toggle-button'" there and then add the "Vue.use(ToggleButton)" line in that file as well.
Then - in your component file where you want to use the Toggle Button, you simply just need to add the "
I'm receiving this problem.
In template:
In script:
How can it be cured?