Trying to use Leaderline with Nuxt App
Component.vue
I am getting below error
I am trying to figure out how to fix this.
2 Replies
@Holy De Mello try a .client.vue component. the package needs browser APIs apparently and can't be rendered on the server
I figured it out, need to enclose component which uses the Leaderline inside <client-only>
so this plugin gives the Leaderline as a variable LeaderLine.setLine - to create line
LeaderLine.obj to access rest of the features
its working like a charm now, thank you