I am currently playing with Clippy.js, a js implementation of the old school Microsoft Agent. The problem occurs as I want to render the agent inside the App.vue component in my VueJS project. Though, i can't seem to figure out how to bind the agent to App.vue component, or any of its children.
The agent is loaded as follows:
<script>
import 'clippyjs';
methods: {
clippy() {
clippy.load('Clippy', (agent) => {
agent.show();
agent.animate();
});
}
}
</script>
The code is from a method in my Header.app component, which is a child component of App.vue
LINK TO DIRECTORY : https://github.com/pi0/clippyjs