I would like to integrate the toastr library into my component:
my-component.vue
<script>
import toastr from 'toastr';
export default {
mounted(){
toastr.success('Hello from toastr!');
}
}
</script>
<template>
<div>
Template for my-component.vue here.
</div>
</template>
<style>
/* How can I import `toastr.css` from node_modules in this section? */
</style>
Is there a way to link the library's CSS file located in the node_modules directory?