I'm using vue-custom-element that helps to make a vuejs component build into a single js file where I can embed it on any website.
The scripts may look like this:
<html>
<head>
<script src="link/to/jquery/angular/react/vue/or/something"></script>
</head>
<body>
...
<my-component></my-component>
<script src="app.js"></script>
...
</body>
</html>
It works using vue-custom-element
. Is there any way to make it work with Nuxt? Because that component has to fetch some data from the server in order to render it. So if I can make it SSR using Nuxt that would be great! Or any other suggestions?
What I'm building is a chat widget using vuejs. That chat widget can be embedded on any website
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This feature request is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2150">#c2150</a>)</em></sub></div>