This problem was first referenced in #1 . Currently if a component is imported in to a svelte file there is no popup in development mode. Only when a complete production build is created does it work. For example, currently in my Popup.svelte I have added the following line in the script tag
import Bar from './Bar.svelte';
and in Bar.svelte I have only the following line
<h2>Hello Again</h2>
When I run the development server I get the following popup.
When the console for the popup is opened it shows the following errors
However if instead you run 'npm run build' the extension then displays as required
This problem was first referenced in #1 . Currently if a component is imported in to a svelte file there is no popup in development mode. Only when a complete production build is created does it work. For example, currently in my Popup.svelte I have added the following line in the script tag
and in Bar.svelte I have only the following line
When I run the development server I get the following popup.
When the console for the popup is opened it shows the following errors
However if instead you run 'npm run build' the extension then displays as required